public class FlowStatusPredicate extends Object implements org.apache.commons.collections.Predicate
Predicate
that if the input matches the #operation
as is or if the input object is of type FlowStatusChange
then the predicate will evaluate(Object)
to true; meaning allow / pass the Filter.
ChangeListenerWrapperTransformer.setPredicate(Predicate)
when dealing with events of type SynchronousOperationChange
.Constructor and Description |
---|
FlowStatusPredicate(FlowStatus flowStatus) |
FlowStatusPredicate(String customOperation) |
public FlowStatusPredicate(FlowStatus flowStatus)
public FlowStatusPredicate(String customOperation)
public boolean evaluate(Object object)
evaluate
in interface org.apache.commons.collections.Predicate
Copyright © 2018. All rights reserved.