public class DefaultNutsArgument extends DefaultNutsTokenFilter implements net.thevpc.nuts.NutsArgument
expression| Constructor and Description |
|---|
DefaultNutsArgument(String expression) |
DefaultNutsArgument(String expression,
char eq)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
net.thevpc.nuts.NutsArgument |
getArgumentKey() |
net.thevpc.nuts.NutsArgument |
getArgumentOptionName() |
net.thevpc.nuts.NutsArgument |
getArgumentValue() |
boolean |
getBoolean() |
Boolean |
getBoolean(Boolean defaultValue) |
boolean |
getBooleanValue() |
Boolean |
getBooleanValue(Boolean defaultValue) |
double |
getDouble() |
double |
getDouble(double defaultValue) |
double |
getDoubleValue() |
int |
getInt() |
int |
getInt(int defaultValue) |
int |
getIntValue() |
int |
getIntValue(int defaultValue) |
String |
getKeyValueSeparator() |
long |
getLong() |
long |
getLong(long defaultValue) |
long |
getLongValue() |
String |
getString() |
String |
getString(String defaultValue) |
String |
getStringKey() |
String |
getStringOptionName() |
String |
getStringOptionPrefix() |
String |
getStringValue() |
String |
getStringValue(String defaultValue) |
boolean |
isBlank() |
boolean |
isBoolean() |
boolean |
isDouble() |
boolean |
isEnabled() |
boolean |
isInt() |
boolean |
isKeyValue() |
boolean |
isLong() |
boolean |
isNegated() |
boolean |
isNonOption() |
boolean |
isNull() |
boolean |
isOption() |
boolean |
isUnsupported() |
net.thevpc.nuts.NutsArgument |
required() |
String |
toString() |
contains, like, matchespublic DefaultNutsArgument(String expression)
public DefaultNutsArgument(String expression, char eq)
expression - expressioneq - equalspublic boolean isUnsupported()
public boolean isOption()
isOption in interface net.thevpc.nuts.NutsArgumentpublic boolean isNonOption()
isNonOption in interface net.thevpc.nuts.NutsArgumentpublic boolean isKeyValue()
isKeyValue in interface net.thevpc.nuts.NutsArgumentpublic String getStringOptionPrefix()
getStringOptionPrefix in interface net.thevpc.nuts.NutsArgumentpublic String getKeyValueSeparator()
getKeyValueSeparator in interface net.thevpc.nuts.NutsArgumentpublic net.thevpc.nuts.NutsArgument getArgumentKey()
getArgumentKey in interface net.thevpc.nuts.NutsArgumentpublic net.thevpc.nuts.NutsArgument getArgumentOptionName()
getArgumentOptionName in interface net.thevpc.nuts.NutsArgumentpublic String getStringOptionName()
getStringOptionName in interface net.thevpc.nuts.NutsArgumentpublic net.thevpc.nuts.NutsArgument getArgumentValue()
getArgumentValue in interface net.thevpc.nuts.NutsArgumentpublic String getString()
getString in interface net.thevpc.nuts.NutsArgumentpublic String getString(String defaultValue)
getString in interface net.thevpc.nuts.NutsArgumentpublic boolean isNull()
isNull in interface net.thevpc.nuts.NutsTokenFilterisNull in class DefaultNutsTokenFilterpublic boolean isBlank()
isBlank in interface net.thevpc.nuts.NutsTokenFilterisBlank in class DefaultNutsTokenFilterpublic boolean isNegated()
isNegated in interface net.thevpc.nuts.NutsArgumentpublic boolean isEnabled()
isEnabled in interface net.thevpc.nuts.NutsArgumentpublic boolean isInt()
isInt in interface net.thevpc.nuts.NutsArgumentpublic int getInt()
getInt in interface net.thevpc.nuts.NutsArgumentpublic int getIntValue(int defaultValue)
getIntValue in interface net.thevpc.nuts.NutsArgumentpublic int getIntValue()
getIntValue in interface net.thevpc.nuts.NutsArgumentpublic long getLongValue()
getLongValue in interface net.thevpc.nuts.NutsArgumentpublic double getDoubleValue()
getDoubleValue in interface net.thevpc.nuts.NutsArgumentpublic int getInt(int defaultValue)
getInt in interface net.thevpc.nuts.NutsArgumentpublic boolean isLong()
isLong in interface net.thevpc.nuts.NutsArgumentpublic long getLong()
getLong in interface net.thevpc.nuts.NutsArgumentpublic long getLong(long defaultValue)
getLong in interface net.thevpc.nuts.NutsArgumentpublic boolean isDouble()
isDouble in interface net.thevpc.nuts.NutsArgumentpublic double getDouble()
getDouble in interface net.thevpc.nuts.NutsArgumentpublic double getDouble(double defaultValue)
getDouble in interface net.thevpc.nuts.NutsArgumentpublic boolean getBoolean()
getBoolean in interface net.thevpc.nuts.NutsArgumentpublic boolean isBoolean()
isBoolean in interface net.thevpc.nuts.NutsArgumentpublic Boolean getBoolean(Boolean defaultValue)
getBoolean in interface net.thevpc.nuts.NutsArgumentpublic net.thevpc.nuts.NutsArgument required()
required in interface net.thevpc.nuts.NutsArgumentpublic String getStringKey()
getStringKey in interface net.thevpc.nuts.NutsArgumentpublic String getStringValue()
getStringValue in interface net.thevpc.nuts.NutsArgumentpublic boolean getBooleanValue()
getBooleanValue in interface net.thevpc.nuts.NutsArgumentpublic Boolean getBooleanValue(Boolean defaultValue)
getBooleanValue in interface net.thevpc.nuts.NutsArgumentCopyright © 2021 vpc open source initiative. All rights reserved.