Package jadex.bdi.testcases.misc
Class ParameterProtectionPlan
- java.lang.Object
-
- jadex.bdiv3x.runtime.Plan
-
- jadex.bdi.testcases.misc.ParameterProtectionPlan
-
public class ParameterProtectionPlan extends Plan
The print plan simply prints out the object it gets as parameter in the construtor.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class jadex.bdiv3x.runtime.Plan
Plan.PlanWaitAbstraction
-
-
Constructor Summary
Constructors Constructor Description ParameterProtectionPlan()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addParameterSetValue(IElement element, java.lang.String name, java.lang.Object value)
Get a parameter value of an event or goal.void
body()
The plan body.protected java.lang.Object[]
getParameterSetValues(IElement element, java.lang.String name)
Get a parameter value of an event or goal.protected java.lang.Object
getParameterValue(IElement element, java.lang.String name)
Get a parameter value of an event or goal.protected void
setParameterValue(IElement element, java.lang.String name, java.lang.Object value)
Get a parameter value of an event or goal.protected void
testInit(IElement elem)
Test init-mode access.protected void
testInProcess(IElement elem)
Test in-process access.-
Methods inherited from class jadex.bdiv3x.runtime.Plan
aborted, checkNotInAtomic, createExpression, createGoal, createInternalEvent, createMessageEvent, dispatchInternalEvent, dispatchSubgoal, dispatchSubgoalAndWait, dispatchSubgoalAndWait, dispatchTopLevelGoal, endAtomic, fail, fail, fail, failed, getAgent, getBeliefbase, getClock, getComponentDescription, getComponentIdentifier, getComponentName, getDispatchedElement, getEventbase, getException, getExpression, getExpressionbase, getExternalAccess, getGoalbase, getLogger, getParameter, getParameters, getParameterSet, getParameterSets, getPlanbase, getPlanElement, getReason, getRPlan, getScope, getTime, getWaitqueue, hasParameter, hasParameterSet, killAgent, passed, sendMessage, sendMessageAndWait, sendMessageAndWait, startAtomic, toString, waitFor, waitForCondition, waitForCondition, waitForCondition, waitForConditionInline, waitForConditionInline, waitForEver, waitForFactAdded, waitForFactAdded, waitForFactChanged, waitForFactChanged, waitForFactRemoved, waitForFactRemoved, waitForGoalFinished, waitForGoalFinished, waitForGoalFinished, waitForGoalFinished, waitForInternalEvent, waitForInternalEvent, waitForMessageEvent, waitForMessageEvent, waitForReply, waitForReply, waitForReply, waitForReply, waitForTick
-
-
-
-
Method Detail
-
testInit
protected void testInit(IElement elem)
Test init-mode access.
-
testInProcess
protected void testInProcess(IElement elem)
Test in-process access.
-
getParameterValue
protected java.lang.Object getParameterValue(IElement element, java.lang.String name)
Get a parameter value of an event or goal.
-
setParameterValue
protected void setParameterValue(IElement element, java.lang.String name, java.lang.Object value)
Get a parameter value of an event or goal.
-
getParameterSetValues
protected java.lang.Object[] getParameterSetValues(IElement element, java.lang.String name)
Get a parameter value of an event or goal.
-
addParameterSetValue
protected void addParameterSetValue(IElement element, java.lang.String name, java.lang.Object value)
Get a parameter value of an event or goal.
-
-