|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Documented @Retention(value=RUNTIME) @Target(value=METHOD) public @interface Action
Annotates a method to be invoked when the first argument which is not an option matches the name. This annotation contains non-localized informations like the name. This annotation does not contain the description to be printed when the user ask for help because such description is local-dependent. The description must be provided in a properties file under the following rules:
ResourceBundle class.name(), or the method name if no name is
explicitly given.
| utility/geotk-utility (download) | View source code for this class |
| Optional Element Summary | |
|---|---|
String[] |
examples
Examples of usage of this action. |
int |
maximalArgumentCount
The maximal number of arguments expected after the action name. |
int |
minimalArgumentCount
The minimal number of arguments expected after the action name. |
String |
name
The action name. |
public abstract String name
"" for the default.public abstract String[] examples
public abstract int minimalArgumentCount
public abstract int maximalArgumentCount
Integer.MAX_VALUE, which means that
there is no maximum.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||