Package co.aikar.commands
Class CommandOperationContext<I extends CommandIssuer>
java.lang.Object
co.aikar.commands.CommandOperationContext<I>
Holds information about the currently executing command on this thread
-
Method Summary
Modifier and TypeMethodDescription<T extends Annotation>
TgetAnnotation(Class<T> anno) Deprecated.<T extends Annotation>
StringgetAnnotationValue(Class<T> cls) <T extends Annotation>
StringgetAnnotationValue(Class<T> cls, int options) String[]getArgs()booleanhasAnnotation(Class<? extends Annotation> anno) booleanisAsync()voidsetRegisteredCommand(RegisteredCommand registeredCommand)
-
Method Details
-
getCommandManager
-
getCommandIssuer
-
getCommand
-
getCommandLabel
-
getArgs
-
isAsync
-
setRegisteredCommand
-
getRegisteredCommand
-
getAnnotation
Deprecated.This method will not support annotation processors!! use getAnnotationValue or hasAnnotation -
getAnnotationValue
-
getAnnotationValue
-
hasAnnotation
-
getAnnotationValue(Class)