Class FlowTraceEventMatcher
java.lang.Object
kieker.analysis.architecture.trace.flow.FlowTraceEventMatcher
- All Implemented Interfaces:
IControlEventMatcher<OperationEvent,IFlowRecord>
public class FlowTraceEventMatcher extends java.lang.Object implements IControlEventMatcher<OperationEvent,IFlowRecord>
Control event matcher for flow events, controlled by OperationEvents.
- Since:
- 1.15
- Author:
- Reiner Jung
-
Constructor Summary
Constructors Constructor Description FlowTraceEventMatcher() -
Method Summary
Modifier and Type Method Description booleancheckControlEvent(OperationEvent controlEvent, IFlowRecord baseEvent)Check whether a base event matches a control event.booleankeepControlEvent(IFlowRecord baseEvent)True whether a control event must be kept to be reused for another base event.booleanrequiresControlEvent(IFlowRecord baseEvent)Check whether the given event must be handled by the controller
-
Constructor Details
-
FlowTraceEventMatcher
public FlowTraceEventMatcher()
-
-
Method Details
-
requiresControlEvent
Description copied from interface:IControlEventMatcherCheck whether the given event must be handled by the controller- Specified by:
requiresControlEventin interfaceIControlEventMatcher<OperationEvent,IFlowRecord>- Parameters:
baseEvent- the base event- Returns:
- returns true when the base event must only be released with a proper control event
-
checkControlEvent
Description copied from interface:IControlEventMatcherCheck whether a base event matches a control event.- Specified by:
checkControlEventin interfaceIControlEventMatcher<OperationEvent,IFlowRecord>- Parameters:
controlEvent- the control eventbaseEvent- the base event to be checked- Returns:
- returns true if the base event is accepted
-
keepControlEvent
Description copied from interface:IControlEventMatcherTrue whether a control event must be kept to be reused for another base event.- Specified by:
keepControlEventin interfaceIControlEventMatcher<OperationEvent,IFlowRecord>- Parameters:
baseEvent- the previously checked base event- Returns:
- true to keep control event
-