Package kieker.analysis.generic
Class CallEventMatcher
java.lang.Object
kieker.analysis.generic.CallEventMatcher
- All Implemented Interfaces:
IControlEventMatcher<OperationEvent,CallEvent>
public class CallEventMatcher extends java.lang.Object implements IControlEventMatcher<OperationEvent,CallEvent>
Check whether a CallEvent can be released based on an OperationEvent.
- Since:
- 1.15
- Author:
- Reiner Jung
-
Constructor Summary
Constructors Constructor Description CallEventMatcher() -
Method Summary
Modifier and Type Method Description booleancheckControlEvent(OperationEvent controlEvent, CallEvent baseEvent)Check whether a base event matches a control event.booleankeepControlEvent(CallEvent baseEvent)True whether a control event must be kept to be reused for another base event.booleanrequiresControlEvent(CallEvent baseEvent)Check whether the given event must be handled by the controller
-
Constructor Details
-
CallEventMatcher
public CallEventMatcher()
-
-
Method Details
-
requiresControlEvent
Description copied from interface:IControlEventMatcherCheck whether the given event must be handled by the controller- Specified by:
requiresControlEventin interfaceIControlEventMatcher<OperationEvent,CallEvent>- 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,CallEvent>- 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,CallEvent>- Parameters:
baseEvent- the previously checked base event- Returns:
- true to keep control event
-