Package org.incendo.cloud.annotations
Class MethodCommandExecutionHandler.CommandMethodContext<C>
java.lang.Object
org.incendo.cloud.annotations.MethodCommandExecutionHandler.CommandMethodContext<C>
- Type Parameters:
C- command sender type
- Enclosing class:
MethodCommandExecutionHandler<C>
Context for command methods
-
Method Summary
Modifier and TypeMethodDescriptionThe annotation parserReturns the argument descriptorsThe compiled command argumentsReturns the flag descriptorsfinal @NonNull ParameterInjectorRegistry<C> The injector registryinstance()The instance that owns the command methodmethod()The command method
-
Method Details
-
instance
The instance that owns the command method- Returns:
- The instance
-
method
The command method- Returns:
- The method
-
commandComponents
The compiled command arguments- Returns:
- Compiled command arguments
-
injectorRegistry
The injector registry- Returns:
- Injector registry
-
annotationParser
The annotation parser- Returns:
- Annotation parser
-
argumentDescriptors
Returns the argument descriptors- Returns:
- the argument descriptors
-
flagDescriptors
Returns the flag descriptors- Returns:
- the flag descriptors
-