@Retention(value=RUNTIME)
public @interface NestedCommand
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.Modifier and Type | Required Element and Description |
---|---|
java.lang.Class<?>[] |
value
A list of classes with the child commands.
|
Modifier and Type | Optional Element and Description |
---|---|
boolean |
executeBody
If set to true it will execute the body of the tagged method.
|