Annotation Type Flag
-
@Target(PARAMETER) @Retention(RUNTIME) public @interface FlagIndicates that the parameter should be treated like aCommandFlag. If the parameter is abooleanthen a presence flag will be created, else a value flag will be created and the parser will be resolved the same way as it would for aArgument
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringvalueThe flag name
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String[]aliasesFlag aliasesjava.lang.StringdescriptionThe argument descriptionjava.lang.StringparserNameName of the parser.
-