Package jadex.bdiv3.actions
Class ExecutePlanStepAction
- java.lang.Object
- 
- jadex.bdiv3.actions.ExecutePlanStepAction
 
- 
- All Implemented Interfaces:
- IComponentStep<java.lang.Void>,- IConditionalComponentStep<java.lang.Void>
 
 public class ExecutePlanStepAction extends java.lang.Object implements IConditionalComponentStep<java.lang.Void> Action for executing a plan step.
- 
- 
Field SummaryFields Modifier and Type Field Description protected jadex.bdiv3.runtime.impl.RPlanrplanThe plan.
 - 
Constructor SummaryConstructors Constructor Description ExecutePlanStepAction(jadex.bdiv3.runtime.impl.RPlan rplan)Create a new action.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IFuture<java.lang.Boolean>checkContextCondition()Check the context condition.IFuture<java.lang.Void>execute(IInternalAccess ia)Execute the command.jadex.bdiv3.runtime.impl.RPlangetRPlan()Get the rplan.booleanisValid()Test if the action is valid.java.lang.StringtoString()Return a string.
 
- 
- 
- 
Method Detail- 
isValidpublic boolean isValid() Test if the action is valid.- Specified by:
- isValidin interface- IConditionalComponentStep<java.lang.Void>
- Returns:
- True, if action is valid.
 
 - 
executepublic IFuture<java.lang.Void> execute(IInternalAccess ia) Execute the command.- Specified by:
- executein interface- IComponentStep<java.lang.Void>
- Parameters:
- args- The argument(s) for the call.
- Returns:
- The result of the command.
 
 - 
getRPlanpublic jadex.bdiv3.runtime.impl.RPlan getRPlan() Get the rplan.
 - 
checkContextConditionprotected IFuture<java.lang.Boolean> checkContextCondition() Check the context condition.- Returns:
- True if context is ok.
 
 - 
toStringpublic java.lang.String toString() Return a string.- Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-