public final class CompositePredicate extends RenderingModePredicate
Modifier and Type | Class and Description |
---|---|
static class |
CompositePredicate.Operator
The logical operator which defines the type of concatenation.
|
Constructor and Description |
---|
CompositePredicate(CompositePredicate.Operator operator,
Collection<? extends Predicate> predicates)
Creates a predicate instance which concatenates the given predicates with the specified operator.
|
Modifier and Type | Method and Description |
---|---|
Predicate |
apply(PredicateTransformation transformation)
Applies the given transformation, returning the transformed predicate.
|
RenderingModePredicate |
createRenderingModePredicate(RenderingMode renderingMode)
create the same predicate but with given renderingMode flag
|
CompositePredicate.Operator |
getOperator()
The logical operator which defines the type of concatenation.
|
com.google.common.collect.ImmutableList<Predicate> |
getPredicates()
All predicates to be concatenated.
|
String |
toString() |
forceRenderingMode, getRenderingMode
public CompositePredicate(CompositePredicate.Operator operator, Collection<? extends Predicate> predicates)
predicates
- all predicates to be concatenatedoperator
- the logical operatorpublic CompositePredicate.Operator getOperator()
public com.google.common.collect.ImmutableList<Predicate> getPredicates()
public RenderingModePredicate createRenderingModePredicate(RenderingMode renderingMode)
RenderingModePredicate
createRenderingModePredicate
in class RenderingModePredicate
renderingMode
- flag to set in the predicatepublic Predicate apply(PredicateTransformation transformation)
Predicate
Copyright © 2010 - 2018 edorasware ag. All Rights Reserved.