org.freecompany.yacli
Annotation Type Option
@Retention(value=RUNTIME)
@Target(value=FIELD)
public @interface Option
The option annotation defines an option to be set on the target class
from the arguments provided on the command line. The command line
interface handles finding these options, validating them, and setting
any value(s) they may have on the Runnable
main class before
executing it.
Optional Element Summary |
java.lang.String |
help
|
longName
public abstract java.lang.String longName
shortName
public abstract java.lang.String shortName
description
public abstract java.lang.String description
required
public abstract Required required
value
public abstract Value value
help
public abstract java.lang.String help
- Default:
- ""