public class ElementBasedPredicateBuilderImpl<T> extends Object implements ElementBasedPredicateBuilder<T>
| Constructor and Description |
|---|
ElementBasedPredicateBuilderImpl(Function<DescribedPredicateEvaluator<ProcessVariable>,T> conditionSetter,
Function<ProcessVariable,List<BpmnElement>> elementProvider,
boolean onlyFlag,
String elementDescription) |
| Modifier and Type | Method and Description |
|---|---|
T |
ofType(Class<?> clazz)
Returns predicate with operation location based on type.
|
T |
thatFulfill(DescribedPredicateEvaluator<BpmnElement> predicate)
Method to define a custom predicate for filtering elements.
|
T |
withNameMatching(String regex)
Returns predicate with operation location based on pattern match
|
T |
withPostfix(String postfix)
Returns predicate with operation location based on postfix, e.g.
|
T |
withPrefix(String prefix)
Returns predicate with operation location based on prefix, e.g.
|
T |
withProperty(String propertyName)
Returns predicate with operation location based on camunda:property.
|
public ElementBasedPredicateBuilderImpl(Function<DescribedPredicateEvaluator<ProcessVariable>,T> conditionSetter, Function<ProcessVariable,List<BpmnElement>> elementProvider, boolean onlyFlag, String elementDescription)
public T ofType(Class<?> clazz)
ElementBasedPredicateBuilderofType in interface ElementBasedPredicateBuilder<T>clazz - - Classpublic T withProperty(String propertyName)
ElementBasedPredicateBuilderwithProperty in interface ElementBasedPredicateBuilder<T>propertyName - - Property name of camunda:propertypublic T withPrefix(String prefix)
ElementBasedPredicateBuilderwithPrefix in interface ElementBasedPredicateBuilder<T>prefix - - Prefix to check forpublic T withPostfix(String postfix)
ElementBasedPredicateBuilderwithPostfix in interface ElementBasedPredicateBuilder<T>postfix - - Postfix to check forpublic T withNameMatching(String regex)
ElementBasedPredicateBuilderwithNameMatching in interface ElementBasedPredicateBuilder<T>regex - - Regex to do pattern matchingpublic T thatFulfill(DescribedPredicateEvaluator<BpmnElement> predicate)
ElementBasedPredicateBuilderthatFulfill in interface ElementBasedPredicateBuilder<T>predicate - - Predicate that has to be fulfilledCopyright © 2019 viadee Unternehmensberatung AG. All rights reserved.