Package cmion.level2

Class EventCompetencySucceeded

  • All Implemented Interfaces:
    ion.Meta.IEvent

    public class EventCompetencySucceeded
    extends CompetencyEvent
    this event signifies that the execution of a competency has suceeded
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected CompetencyExecutionPlan plan
      the competency execution plan as part of which this competency was started
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Competency getCompetency()
      returns a reference to the competency that has succeeded
      long getExecutionID()  
      java.util.HashMap<java.lang.String,​java.lang.String> getParameters()
      returns the parameters the competency was running with, when suceeding
      CompetencyExecutionPlan getPlan()
      returns the competency execution plan as part of which this competency was started or null if the competency was not started through the competency execution system (e.g.
      java.lang.String toString()
      displays information about this event
      • Methods inherited from class ion.Meta.Event

        getRaiseTime
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • plan

        protected CompetencyExecutionPlan plan
        the competency execution plan as part of which this competency was started
    • Constructor Detail

      • EventCompetencySucceeded

        public EventCompetencySucceeded​(Competency competency,
                                        java.util.HashMap<java.lang.String,​java.lang.String> parameters,
                                        CompetencyExecutionPlan plan,
                                        long executionID)
    • Method Detail

      • getCompetency

        public Competency getCompetency()
        returns a reference to the competency that has succeeded
      • getParameters

        public java.util.HashMap<java.lang.String,​java.lang.String> getParameters()
        returns the parameters the competency was running with, when suceeding
      • getExecutionID

        public long getExecutionID()
      • getPlan

        public CompetencyExecutionPlan getPlan()
        returns the competency execution plan as part of which this competency was started or null if the competency was not started through the competency execution system (e.g. it was started as a background competency)
      • toString

        public java.lang.String toString()
        displays information about this event
        Overrides:
        toString in class java.lang.Object