Package cmion.level2
Class EventCompetencyStarted
- java.lang.Object
-
- ion.Meta.Event
-
- cmion.architecture.CmionEvent
-
- cmion.level2.CompetencyEvent
-
- cmion.level2.EventCompetencyStarted
-
- All Implemented Interfaces:
ion.Meta.IEvent
public class EventCompetencyStarted extends CompetencyEvent
this event signifies that the execution of a competency has started
-
-
Field Summary
Fields Modifier and Type Field Description protected CompetencyExecutionPlanplanthe competency execution plan as part of which this competency was started
-
Constructor Summary
Constructors Constructor Description EventCompetencyStarted(Competency competency, java.util.HashMap<java.lang.String,java.lang.String> parameters, CompetencyExecutionPlan plan, long executionID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompetencygetCompetency()returns a reference to the competency that has startedlonggetExecutionID()java.util.HashMap<java.lang.String,java.lang.String>getParameters()returns the parameters the competency was running with when startedCompetencyExecutionPlangetPlan()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.StringtoString()displays information about this event-
Methods inherited from class cmion.architecture.CmionEvent
getOriginator, setOriginator
-
-
-
-
Field Detail
-
plan
protected CompetencyExecutionPlan plan
the competency execution plan as part of which this competency was started
-
-
Constructor Detail
-
EventCompetencyStarted
public EventCompetencyStarted(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 started
-
getExecutionID
public long getExecutionID()
-
getParameters
public java.util.HashMap<java.lang.String,java.lang.String> getParameters()
returns the parameters the competency was running with when started
-
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:
toStringin classjava.lang.Object
-
-