@Documented @Retention(value=RUNTIME) @Target(value=FIELD) public @interface Option
Modifier and Type | Required Element and Description |
---|---|
String |
name
The short name of the option.
|
Modifier and Type | Optional Element and Description |
---|---|
String |
defaultValue
The default value of the option.
|
String |
description
The description of the option (used by the help command).
|
boolean |
hasArgument
If the option has an argument (i.e.
|
String |
longName
The long name of the option.
|
boolean |
mandatory
If the command is mandatory.
|
public abstract String name
public abstract boolean hasArgument
public abstract String longName
public abstract String description
public abstract String defaultValue
Copyright © 2013-2018–2019 SeedStack. All rights reserved.