public class OptionDescriptor extends CliDescriptor
Option
descriptor.Modifier and Type | Field and Description |
---|---|
static int |
UNINITIALIZED |
static int |
UNLIMITED |
UNINITIALIZED_CHAR, UNINITIALIZED_CLASS, UNINITIALIZED_STRING
Constructor and Description |
---|
OptionDescriptor(Option spec,
Setter setter) |
Modifier and Type | Method and Description |
---|---|
int |
getArgs() |
String |
getLongName() |
String |
getName() |
boolean |
getOverride() |
char |
getSeparator() |
Option |
getSpec() |
String |
getSyntax() |
boolean |
isArgumentOptional() |
getDescription, getHandler, getHandlerType, getId, getMessageCode, getSetter, getToken, getTokenCode, getType, isArgument, isMultiValued, isOption, isRequired, renderHelpText, renderSyntax, renderToken
toString
public static final int UNINITIALIZED
public static final int UNLIMITED
public Option getSpec()
public String getName()
public String getLongName()
public char getSeparator()
public int getArgs()
public boolean isArgumentOptional()
public boolean getOverride()
public String getSyntax()
getSyntax
in class CliDescriptor
Copyright © 2008-2013 Sonatype. All Rights Reserved.