org.incava.jagol

Class StringOption


public class StringOption
extends NonBooleanOption

Represents an option that is an String.

Field Summary

Fields inherited from class org.incava.jagol.Option

longName, shortName

Constructor Summary

StringOption(String longName, String description)
StringOption(String longName, String description, String value)

Method Summary

protected String
getType()
Returns the option type.
String
getValue()
Returns the value.
void
setValue(String value)
Sets the value.
String
toString()

Methods inherited from class org.incava.jagol.NonBooleanOption

getType, set

Methods inherited from class org.incava.jagol.Option

getDescription, getLongName, getShortName, set, setLongName, setShortName, setValue

Constructor Details

StringOption

public StringOption(String longName,
                    String description)

StringOption

public StringOption(String longName,
                    String description,
                    String value)

Method Details

getType

protected String getType()
Returns the option type.
Overrides:
getType in interface NonBooleanOption

getValue

public String getValue()
Returns the value.

setValue

public void setValue(String value)
Sets the value.
Overrides:
setValue in interface Option

toString

public String toString()