Package org.oristool.analyzer.stop
Class MonitorStopCriterion
java.lang.Object
org.oristool.analyzer.stop.MonitorStopCriterion
- All Implemented Interfaces:
AnalyzerObserver
,StopCriterion
A stop criterion controlled by an external
AnalysisMonitor
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
void
notifyNodeAdded
(Succession succession) Notifies the observer that the analyzer has added the child node of the given succession to the graph.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
notifySuccessionCreated, notifySuccessionExtracted, notifySuccessionInserted, notifySuccessionPostProcessed, notifySuccessionPreProcessed
-
Constructor Details
-
MonitorStopCriterion
-
-
Method Details
-
stop
public boolean stop()- Specified by:
stop
in interfaceStopCriterion
-
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
-
interruptedExecution
public boolean interruptedExecution() -
enumeratedClasses
public int enumeratedClasses()
-