@Retention(value=RUNTIME) @Target(value={FIELD,ANNOTATION_TYPE}) public @interface CliOption
Modifier and Type | Required Element and Description |
---|---|
String |
name
The short name of the option.
|
Modifier and Type | Optional Element and Description |
---|---|
String[] |
defaultValues
The default value(s) of the option.
|
String |
description
The description of the option (used by the help command).
|
String |
longName
The long name of the option.
|
boolean |
mandatory
If the option is mandatory.
|
boolean |
mandatoryValue
If the option values are mandatory.
|
int |
valueCount
The number of values this option can take (or -1 if unlimited).
|
char |
valueSeparator
The character for separating option values.
|
public abstract String name
public abstract String longName
public abstract int valueCount
public abstract char valueSeparator
public abstract boolean mandatoryValue
public abstract String[] defaultValues
public abstract String description
Copyright © 2013-2018–2019 SeedStack. All rights reserved.