@Retention(value=RUNTIME) @Target(value={METHOD,FIELD}) @Inherited @Incubating public @interface Option
Marks a property of a Task as being configurable from the command-line.
This annotation should be attached to a field or a setter method. When attached to a field, option()
will use the name of the field by default. When attached to a method, option() must be specified.
An option may have one of the following types:
booleanBooleanEnumList<Enum>List<String>String| Modifier and Type | Required Element and Description |
|---|---|
String |
description
The description of this option.
|
public abstract String description
public abstract String option