org.incava.jagol
Class IntegerOption
public class IntegerOption
Represents an option that is an integer.
protected String | getType() - Returns the option type.
|
Integer | getValue() - Returns the value.
|
void | setValue(Integer value) - Sets the value.
|
void | setValue(String value) - Sets the value from the string, for an integer type.
|
String | toString()
|
IntegerOption
public IntegerOption(String longName,
String description)
IntegerOption
public IntegerOption(String longName,
String description,
Integer value)
getValue
public Integer getValue()
Returns the value. This is null if not set.
setValue
public void setValue(Integer value)
Sets the value.
toString
public String toString()