Class MonitorStopCriterion

java.lang.Object
org.oristool.analyzer.stop.MonitorStopCriterion
All Implemented Interfaces:
AnalyzerObserver, StopCriterion

public class MonitorStopCriterion extends Object implements StopCriterion
A stop criterion controlled by an external AnalysisMonitor.
  • Constructor Details

    • MonitorStopCriterion

      public MonitorStopCriterion(AnalysisMonitor monitor)
  • Method Details

    • stop

      public boolean stop()
      Specified by:
      stop in interface StopCriterion
    • notifyNodeAdded

      public void notifyNodeAdded(Succession succession)
      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 interface AnalyzerObserver
      Parameters:
      succession - succession added to the graph by the analyzer
    • interruptedExecution

      public boolean interruptedExecution()
    • enumeratedClasses

      public int enumeratedClasses()