| Modifier | Constructor and Description |
|---|---|
protected |
DefaultResult(boolean validated,
DefaultContext context) |
| Modifier and Type | Method and Description |
|---|---|
Context |
getContext()
Returns the context that contains the execution values.
|
java.lang.String |
getFailureCause(java.util.Locale locale)
Returns the failure cause of the failed predicate.
|
boolean |
isFalse()
Returns true if the predicate evaluates to false.
|
boolean |
isTrue()
Returns true if the predicate evaluates to true.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFailureCauseprotected DefaultResult(boolean validated,
DefaultContext context)
public boolean isTrue()
Resultpublic boolean isFalse()
Resultpublic Context getContext()
ResultgetContext in interface Resultpublic java.lang.String getFailureCause(java.util.Locale locale)
ResultgetFailureCause in interface Resultlocale - the desire locale for the failure cause