public interface ConditionFactory
Interface for factories providing conditions.
| Modifier and Type | Method and Description |
|---|---|
BooleanCondition |
booleanCondition(Expression<Boolean> expression)
Create a boolean condition which allows some convenience methods for assertions and assumptions.
|
<T> Condition<T> |
condition(Expression<T> expression)
Create a ready to use condition.
|
@Nonnull BooleanCondition booleanCondition(@Nonnull Expression<Boolean> expression)
Create a boolean condition which allows some convenience methods for assertions and assumptions.
expression - the expression which will evaluate to a boolean valueNullPointerException - if expression is null@Nonnull <T> Condition<T> condition(@Nonnull Expression<T> expression)
Create a ready to use condition.
T - the type the expression value will haveexpression - the expression which will evaluate to value of type TNullPointerException - if expression is nullCopyright © 2011-2017 CoreMedia AG. All Rights Reserved.