Package com.gengoai.application
Annotation Type Option
-
@Target(FIELD) @Retention(RUNTIME) public @interface Option
Field annotation that allows the field to be set via the command line using a
CommandLineParser
.- Author:
- David B. Bracewell
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description String
description
-
-
-
Element Detail
-
description
String description
- Returns:
- The description for the command line option
-
-
-
name
String name
- Returns:
- The name of the command line option
- Default:
- ""
-
-
-
aliases
String[] aliases
- Returns:
- The aliases for the command line option
- Default:
- {}
-
-
-
defaultValue
String defaultValue
- Returns:
- The default value for the command line option
- Default:
- ""
-
-