Class BooleanAttributeFilter
- java.lang.Object
-
- org.processmining.logprojection.filters.AbstractEventFilter
-
- org.processmining.logprojection.filters.BooleanAttributeFilter
-
- All Implemented Interfaces:
EventFilter
public final class BooleanAttributeFilter extends AbstractEventFilter
-
-
Field Summary
-
Fields inherited from class org.processmining.logprojection.filters.AbstractEventFilter
attribute, attributeIndex, manager
-
-
Constructor Summary
Constructors Constructor Description BooleanAttributeFilter(LogView view, Attribute attribute, boolean keepTrue, boolean keepFalse)keeps events if the attribute value is true if keepTrue is set and if the value is false if keepFalse is set.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleankeepEvent(LogView view, int traceIndex, int eventIndex)-
Methods inherited from class org.processmining.logprojection.filters.AbstractEventFilter
equals, hashCode
-
-
-
-
Constructor Detail
-
BooleanAttributeFilter
public BooleanAttributeFilter(LogView view, Attribute attribute, boolean keepTrue, boolean keepFalse)
keeps events if the attribute value is true if keepTrue is set and if the value is false if keepFalse is set.- Parameters:
view-attribute- The attribute to be checked for each event. Note that this has to be a boolean attribute, i.e. the type should be Attribute.BOOL, otherwise results are unpredictableisEventAttribute-min-max-inverted-
-
-
Method Detail
-
keepEvent
public boolean keepEvent(LogView view, int traceIndex, int eventIndex)
-
-