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 Summary
Fields Modifier and Type Field Description protected jadex.bdiv3.runtime.impl.RPlanrplanThe plan. 
- 
Constructor Summary
Constructors Constructor Description ExecutePlanStepAction(jadex.bdiv3.runtime.impl.RPlan rplan)Create a new action. 
- 
Method Summary
All 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
- 
isValid
public boolean isValid()
Test if the action is valid.- Specified by:
 isValidin interfaceIConditionalComponentStep<java.lang.Void>- Returns:
 - True, if action is valid.
 
 
- 
execute
public IFuture<java.lang.Void> execute(IInternalAccess ia)
Execute the command.- Specified by:
 executein interfaceIComponentStep<java.lang.Void>- Parameters:
 args- The argument(s) for the call.- Returns:
 - The result of the command.
 
 
- 
getRPlan
public jadex.bdiv3.runtime.impl.RPlan getRPlan()
Get the rplan. 
- 
checkContextCondition
protected IFuture<java.lang.Boolean> checkContextCondition()
Check the context condition.- Returns:
 - True if context is ok.
 
 
- 
toString
public java.lang.String toString()
Return a string.- Overrides:
 toStringin classjava.lang.Object
 
 - 
 
 -