public interface Result
ValidationRule.executeOn(DslModel).| Modifier and Type | Method and Description |
|---|---|
Context |
getContext()
Returns the context that contains the execution values.
|
default java.lang.String |
getFailureCause()
Returns the failure cause of the failed predicate.
|
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.
|
boolean isTrue()
boolean isFalse()
java.lang.String getFailureCause(java.util.Locale locale)
locale - the desire locale for the failure causedefault java.lang.String getFailureCause()
Context getContext()