|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.rules.closure.support.AlgorithmsAccessor
org.springframework.rules.constraint.ConstraintsAccessor
org.springframework.rules.constraint.AbstractConstraint
org.springframework.rules.constraint.IfTrue
public class IfTrue
| Constructor Summary | |
|---|---|
IfTrue(Constraint constraint,
Constraint mustAlsoBeTrue)
|
|
IfTrue(Constraint constraint,
Constraint mustAlsoBeTrue,
Constraint elseMustAlsoBeTrue)
|
|
IfTrue(Constraint constraint,
Constraint mustAlsoBeTrue,
Constraint elseMustAlsoBeTrue,
String type)
|
|
IfTrue(Constraint constraint,
Constraint mustAlsoBeTrue,
String type)
|
|
| Method Summary | |
|---|---|
String |
getType()
Returns this object's logical type identifier. |
boolean |
test(Object argument)
Test the provided argument against this predicate's condition. |
| Methods inherited from class org.springframework.rules.constraint.AbstractConstraint |
|---|
allTrue, allTrue, anyTrue, anyTrue, findAll, findAll, findFirst, findFirst |
| Methods inherited from class org.springframework.rules.constraint.ConstraintsAccessor |
|---|
all, all, and, any, any, bind, bind, bind, bind, bind, conjunction, disjunction, eq, eq, eq, eq, eq, eqProperty, eqProperty, getConstraints, gt, gt, gt, gt, gt, gt, gt, gte, gte, gte, gte, gte, gte, gte, gteProperty, gteProperty, gtProperty, gtProperty, ifTrue, ifTrueElse, inGroup, inGroup, inGroup, inRange, inRange, inRangeProperties, inRangeProperties, like, like, lt, lt, lt, lt, lt, lt, lt, lte, lte, lte, lte, lte, lte, lte, lteProperty, lteProperty, ltProperty, ltProperty, maxLength, method, minLength, not, not, or, present, present, range, range, range, range, range, range, range, regexp, regexp, required, required, testResultOf, unique, value |
| Methods inherited from class org.springframework.rules.closure.support.AlgorithmsAccessor |
|---|
allTrue, allTrue, anyTrue, anyTrue, findAll, findAll, findFirst, findFirst, forEach, forEach, getAlgorithms |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IfTrue(Constraint constraint,
Constraint mustAlsoBeTrue)
public IfTrue(Constraint constraint,
Constraint mustAlsoBeTrue,
String type)
public IfTrue(Constraint constraint,
Constraint mustAlsoBeTrue,
Constraint elseMustAlsoBeTrue)
public IfTrue(Constraint constraint,
Constraint mustAlsoBeTrue,
Constraint elseMustAlsoBeTrue,
String type)
| Method Detail |
|---|
public boolean test(Object argument)
Constraint
test in interface Constraintargument - the argument value
true if the condition was satisfied,
false otherwisepublic String getType()
TypeResolvable
getType in interface TypeResolvable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||