public class ExecutePlanStepAction
extends java.lang.Object
implements jadex.bridge.IConditionalComponentStep<java.lang.Void>
Modifier and Type | Field and Description |
---|---|
protected RPlan |
rplan
The plan.
|
static java.lang.ThreadLocal<RPlan> |
RPLANS
The rplans for plan threads.
|
Constructor and Description |
---|
ExecutePlanStepAction(RPlan rplan)
Create a new action.
|
Modifier and Type | Method and Description |
---|---|
protected jadex.commons.future.IFuture<java.lang.Boolean> |
checkContextCondition()
Check the context condition.
|
jadex.commons.future.IFuture<java.lang.Void> |
execute(jadex.bridge.IInternalAccess ia)
Execute the command.
|
RPlan |
getRPlan()
Get the rplan.
|
boolean |
isValid()
Test if the action is valid.
|
java.lang.String |
toString()
Return a string.
|
public static final java.lang.ThreadLocal<RPlan> RPLANS
protected RPlan rplan
public ExecutePlanStepAction(RPlan rplan)
public boolean isValid()
isValid
in interface jadex.bridge.IConditionalComponentStep<java.lang.Void>
public jadex.commons.future.IFuture<java.lang.Void> execute(jadex.bridge.IInternalAccess ia)
execute
in interface jadex.bridge.IComponentStep<java.lang.Void>
args
- The argument(s) for the call.public RPlan getRPlan()
protected jadex.commons.future.IFuture<java.lang.Boolean> checkContextCondition()
public java.lang.String toString()
toString
in class java.lang.Object