Package org.oristool.analyzer.stop
Class EventNameStopCriterion
java.lang.Object
org.oristool.analyzer.stop.EventNameStopCriterion
- All Implemented Interfaces:
AnalyzerObserver
,StopCriterion
Criterion stopping the analysis when a specific event fired.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
notifySuccessionExtracted
(Succession succession) Notifies the observer that the analyzer has extracted the given succession from the policy.boolean
stop()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.oristool.analyzer.AnalyzerObserver
notifyNodeAdded, notifySuccessionCreated, notifySuccessionInserted, notifySuccessionPostProcessed, notifySuccessionPreProcessed
-
Constructor Details
-
EventNameStopCriterion
-
-
Method Details
-
getEventName
-
notifySuccessionExtracted
Description copied from interface:AnalyzerObserver
Notifies the observer that the analyzer has extracted the given succession from the policy.- Specified by:
notifySuccessionExtracted
in interfaceAnalyzerObserver
- Parameters:
succession
- succession extracted by the analyzer
-
stop
public boolean stop()- Specified by:
stop
in interfaceStopCriterion
-