|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwater.api.RequestArguments.Record<T>
protected static class RequestArguments.Record<T>
Argument state record. Contains all state required for the argument and a few functions to operate on the state.
Field Summary | |
---|---|
java.lang.String |
_disabledReason
Reason why the argument is disabled, or null if it is enabled. |
java.lang.String |
_originalValue
Determines the original input value of the argument. |
boolean |
_valid
True if the argument's value stored in _value is valid, that is either correctly parsed, or not present and default value used. |
T |
_value
Parsed value. |
Constructor Summary | |
---|---|
protected |
RequestArguments.Record()
|
Method Summary | |
---|---|
boolean |
disabled()
Returns true if the argument is disabled. |
boolean |
specified()
Returns if the argument is specified by user. |
boolean |
valid()
Returns true if the argument is valid. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String _originalValue
public T _value
public java.lang.String _disabledReason
public boolean _valid
Constructor Detail |
---|
protected RequestArguments.Record()
Method Detail |
---|
public boolean disabled()
public boolean valid()
public boolean specified()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |