Annotation Interface NestedCommand
Indicates a nested command. Mark methods with this annotation to tell
CommandsManager that a method is merely a shell for child
commands. Note that the body of a method marked with this annotation
will never called. Additionally, not all fields of Command apply
when it is used in conjunction with this annotation, although both
are still required.-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanIf set to true it will execute the body of the tagged method.
-
Element Details
-
value
-
executeBody
boolean executeBodyIf set to true it will execute the body of the tagged method.- Returns:
- true to execute the body of the annotated method
- Default:
false
-