Class EventNameStopCriterion

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

public class EventNameStopCriterion extends Object implements StopCriterion
Criterion stopping the analysis when a specific event fired.
  • Constructor Details

    • EventNameStopCriterion

      public EventNameStopCriterion(String eventName)
  • Method Details

    • getEventName

      public String getEventName()
    • notifySuccessionExtracted

      public void notifySuccessionExtracted(Succession succession)
      Description copied from interface: AnalyzerObserver
      Notifies the observer that the analyzer has extracted the given succession from the policy.
      Specified by:
      notifySuccessionExtracted in interface AnalyzerObserver
      Parameters:
      succession - succession extracted by the analyzer
    • stop

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