public class SimpleStrategyDsl extends Object
Modifier | Constructor and Description |
---|---|
protected |
SimpleStrategyDsl() |
Modifier and Type | Method and Description |
---|---|
static <R> BreakStrategy<R> |
allOf(BreakStrategy... breakStrategies)
Returns
BreakStrategy which returns true if all of the given strategies returns true. |
static <R> BreakStrategy<R> |
anyOf(BreakStrategy... breakStrategies)
Returns
BreakStrategy which returns true if at least one of the given strategies returns true. |
public static <R> BreakStrategy<R> anyOf(BreakStrategy... breakStrategies)
BreakStrategy
which returns true if at least one of the given strategies returns true.R
- the return type of target-method for which the strategy will be executedbreakStrategies
- strategies to be chained with "or" statementpublic static <R> BreakStrategy<R> allOf(BreakStrategy... breakStrategies)
BreakStrategy
which returns true if all of the given strategies returns true.R
- the return type of target-method for which the strategy will be executedbreakStrategies
- strategies to be chained with "and" statementCopyright © 2017. All rights reserved.