@Retention(value=RUNTIME)
@Target(value=PARAMETER)
public @interface Flag
| Modifier and Type | Required Element and Description |
|---|---|
char |
value
The character value of the flag that can be used as -f.
|
| Modifier and Type | Optional Element and Description |
|---|---|
@NotNull java.lang.String |
description
The description of the flag.
|
@NotNull java.lang.String |
longName
The long flag name that can be used as --longName.
|
boolean |
required
Whether the flag is required or not.
|
public abstract char value
@NotNull public abstract @NotNull java.lang.String longName