Package org.oristool.analyzer.stop
Class AndStopCriterion
java.lang.Object
org.oristool.analyzer.stop.AndStopCriterion
- All Implemented Interfaces:
AnalyzerObserver
,StopCriterion
Logical AND of two stop criteria.
-
Constructor Summary
ConstructorDescriptionAndStopCriterion
(List<StopCriterion> criteria) AndStopCriterion
(StopCriterion... criteria) -
Method Summary
Modifier and TypeMethodDescriptionvoid
notifyNodeAdded
(Succession succession) Notifies the observer that the analyzer has added the child node of the given succession to the graph.void
notifySuccessionCreated
(Succession succession) Notifies the observer that the analyzer has created the given succession after firing one of the events in the extracted succession.void
notifySuccessionExtracted
(Succession succession) Notifies the observer that the analyzer has extracted the given succession from the policy.void
notifySuccessionInserted
(Succession succession) Notifies the observer that the analyzer has inserted the given succession into the policy queue.void
notifySuccessionPostProcessed
(Succession succession) Notifies the observer that the analyzer has post-processed the given succession.void
notifySuccessionPreProcessed
(Succession succession) Notifies the observer that the analyzer has pre-processed the given succession.boolean
stop()
-
Constructor Details
-
AndStopCriterion
-
AndStopCriterion
-
-
Method Details
-
stop
public boolean stop()- Specified by:
stop
in interfaceStopCriterion
-
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
-
notifyNodeAdded
Description copied from interface:AnalyzerObserver
Notifies the observer that the analyzer has added the child node of the given succession to the graph.- Specified by:
notifyNodeAdded
in interfaceAnalyzerObserver
- Parameters:
succession
- succession added to the graph by the analyzer
-
notifySuccessionCreated
Description copied from interface:AnalyzerObserver
Notifies the observer that the analyzer has created the given succession after firing one of the events in the extracted succession.- Specified by:
notifySuccessionCreated
in interfaceAnalyzerObserver
- Parameters:
succession
- succession created by the analyzer
-
notifySuccessionInserted
Description copied from interface:AnalyzerObserver
Notifies the observer that the analyzer has inserted the given succession into the policy queue.- Specified by:
notifySuccessionInserted
in interfaceAnalyzerObserver
- Parameters:
succession
- succession added by the analyzer to the policy queue
-
notifySuccessionPreProcessed
Description copied from interface:AnalyzerObserver
Notifies the observer that the analyzer has pre-processed the given succession.- Specified by:
notifySuccessionPreProcessed
in interfaceAnalyzerObserver
- Parameters:
succession
- succession pre-processed by the analyzer
-
notifySuccessionPostProcessed
Description copied from interface:AnalyzerObserver
Notifies the observer that the analyzer has post-processed the given succession.- Specified by:
notifySuccessionPostProcessed
in interfaceAnalyzerObserver
- Parameters:
succession
- succession post-processed by the analyzer
-