@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 |
|---|---|
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.
|
public abstract Class<?>[] value
public abstract boolean executeBody
Copyright © 2010-2014. All Rights Reserved.