Package com.e1c.g5.v8.dt.cli.api
Annotation Type CliCommand
-
@Retention(RUNTIME) @Target(METHOD) public @interface CliCommand
Annotation to mark methods which represent CLI commands.
-
-
Field Summary
Fields Modifier and Type Fields Description static String
UNSPECIFIED
Special value which means a value is not provided.
-
-
-
Field Detail
-
UNSPECIFIED
static final String UNSPECIFIED
Special value which means a value is not provided.
-
-
Element Detail
-
value
String value
Command descriptor, i.e. either a help message or the variable name of the localized message from the respective NLS Messages class.
-
-
-
command
String command
CLI command this method implements. If not specified, the method name itself transformed into kebab-case will be the command name. Also, in this case, the following prefixes are removed from the method name, so you may use them to avoid restrictions on method names: _, get, set, is, get_, set_, is_, c0_ - c9_.- Default:
- "com.e1c.g5.v8.dt.cli.api.unspecified.clicommand"
-
-