public class OptionInt extends Object
Type | Property and Description |
---|---|
boolean |
is
Gets the value of the property property.
|
Constructor and Description |
---|
OptionInt(char name,
String longName,
String description,
boolean hasValue,
String argument,
boolean required,
char valueSeparator,
boolean isProperty,
boolean hasMultipleValues,
Class<?> type) |
Modifier and Type | Method and Description |
---|---|
void |
addProperty(String name,
String value) |
void |
addValue(String value) |
void |
clean() |
String |
getArgument() |
String |
getDescription() |
int |
getFormattedLength() |
String |
getFormattedOption(int offset,
int descriptionStart,
int width) |
String |
getLongName() |
String |
getName() |
Map<String,String> |
getProperties() |
Class<?> |
getType() |
String |
getValue() |
List<String> |
getValues() |
char |
getValueSeparator() |
boolean |
hasMultipleValues() |
boolean |
hasValue() |
boolean |
isProperty()
Gets the value of the property property.
|
boolean |
isRequired() |
public String getName()
public String getLongName()
public void addValue(String value)
public String getValue()
public boolean hasValue()
public boolean hasMultipleValues()
public boolean isRequired()
public Class<?> getType()
public String getDescription()
public char getValueSeparator()
public boolean isProperty()
public String getArgument()
public void clean()
public int getFormattedLength()
public String getFormattedOption(int offset, int descriptionStart, int width)
Copyright © 2015 JBoss by Red Hat. All rights reserved.