Package ru.ispras.microtesk.options
Class Options
- java.lang.Object
-
- ru.ispras.microtesk.utils.PropertyMap<Option>
-
- ru.ispras.microtesk.options.Options
-
public final class Options extends PropertyMap<Option>
TheOptions
stores options.
-
-
Constructor Summary
Constructors Constructor Description Options()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getValue(java.lang.String optionName)
java.math.BigInteger
getValueAsBigInteger(java.lang.String optionName)
boolean
getValueAsBoolean(java.lang.String optionName)
int
getValueAsInteger(java.lang.String optionName)
long
getValueAsLong(java.lang.String optionName)
java.lang.String
getValueAsString(java.lang.String optionName)
boolean
hasValue(java.lang.String optionName)
void
setValue(java.lang.String optionName, java.lang.Object value)
-
Methods inherited from class ru.ispras.microtesk.utils.PropertyMap
getValue, getValueAsBigInteger, getValueAsBoolean, getValueAsInteger, getValueAsLong, getValueAsString, hasValue, setValue, toString
-
-
-
-
Method Detail
-
setValue
public void setValue(java.lang.String optionName, java.lang.Object value)
-
hasValue
public boolean hasValue(java.lang.String optionName)
-
getValue
public java.lang.Object getValue(java.lang.String optionName)
-
getValueAsString
public java.lang.String getValueAsString(java.lang.String optionName)
-
getValueAsInteger
public int getValueAsInteger(java.lang.String optionName)
-
getValueAsLong
public long getValueAsLong(java.lang.String optionName)
-
getValueAsBigInteger
public java.math.BigInteger getValueAsBigInteger(java.lang.String optionName)
-
getValueAsBoolean
public boolean getValueAsBoolean(java.lang.String optionName)
-
-