public class DefaultConditionFactory extends Object implements ConditionFactory
Default implementation of ConditionFactory.
| Constructor and Description |
|---|
DefaultConditionFactory(Timeout timeout)
Create factory for conditions with the given timeout behavior.
|
| 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 public BooleanCondition booleanCondition(@Nonnull Expression<Boolean> expression)
ConditionFactoryCreate a boolean condition which allows some convenience methods for assertions and assumptions.
booleanCondition in interface ConditionFactoryexpression - the expression which will evaluate to a boolean value@Nonnull public <T> Condition<T> condition(@Nonnull Expression<T> expression)
ConditionFactoryCreate a ready to use condition.
condition in interface ConditionFactoryT - the type the expression value will haveexpression - the expression which will evaluate to value of type TCopyright © 2011-2017 CoreMedia AG. All Rights Reserved.