org.incava.jagol

Class NonBooleanOption

public abstract class NonBooleanOption extends Option

Base class of all options, except for booleans.
Constructor Summary
NonBooleanOption(String longName, String description)
Method Summary
protected abstract StringgetType()
Returns the option type.
booleanset(String arg, List args)
Sets from a list of command-line arguments.

Constructor Detail

NonBooleanOption

public NonBooleanOption(String longName, String description)

Method Detail

getType

protected abstract String getType()
Returns the option type.

set

public boolean set(String arg, List args)
Sets from a list of command-line arguments. Returns whether this option could be set from the current head of the list.