|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=METHOD) @Retention(value=RUNTIME) public @interface Command
Annotation for commands. Allows to specify the name of a command, otherwise method's name is used.
Optional Element Summary | |
---|---|
java.lang.String |
abbrev
Specify the shortcut name for the command. |
java.lang.String |
description
Specify the description of the command. |
java.lang.String |
header
Specify the string to output before command's output, i.e. some explanations. |
java.lang.String |
name
Allows to override default command name, which is derived from method's name |
public abstract java.lang.String name
public abstract java.lang.String description
public abstract java.lang.String abbrev
public abstract java.lang.String header
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |