Package cmion.level2
Class CompetencyExecutionPlanStep
java.lang.Object
cmion.level2.CompetencyExecutionPlanStep
represents a step in a competency execution plan, can be instantiated or uninstantiated,
see comments in class CompetencyExecutionPlan for more on this distinction.
-
Constructor Summary
ConstructorsConstructorDescriptionCompetencyExecutionPlanStep(Node domNode, IArchitecture architecture) create a new plan step from a DOM node -
Method Summary
Modifier and TypeMethodDescriptionvoidduring execution of a plan this returns a list of competencies that have already been tried to realize this plan step.returns the parameters for the competency to invoke in this stepreturns the type/identifier of the competency to invoke in this steplongreturns the executionID of this plan stepgetID()returns the ID of this plan stepgetInstantiatedCopy(HashMap<String, String> mappings) returns an instantiated copy of this plan step.returns the pre conditions (list of ids of other plan steps) for this plan steps, should only be read and not modified externally
-
Constructor Details
-
CompetencyExecutionPlanStep
create a new plan step from a DOM node- Throws:
Exception
-
-
Method Details
-
getInstantiatedCopy
returns an instantiated copy of this plan step. Concrete this means all variables in competency parameters values (indicated by starting with $) will be replaced with a concrete value for that variable, if this value is provided by the mappings given -
assignExecutionID
public void assignExecutionID() -
getExecutionID
public long getExecutionID()returns the executionID of this plan step -
getID
returns the ID of this plan step -
getCompetencyType
returns the type/identifier of the competency to invoke in this step -
getPreconditions
returns the pre conditions (list of ids of other plan steps) for this plan steps, should only be read and not modified externally -
getCompetencyParameters
returns the parameters for the competency to invoke in this step -
getCompetenciesAlreadyTried
during execution of a plan this returns a list of competencies that have already been tried to realize this plan step. the returned list may be modified externally
-