public static class ExecutionComponentFeature.ExecuteWaitForStep extends java.lang.Object implements IComponentStep<java.lang.Void>
| Constructor and Description |
|---|
ExecuteWaitForStep(ITimer ts,
IComponentStep<java.lang.Void> run)
This class is constructed with an array of
ITimers and the IComponentStep
which is scheduled for execution. |
| Modifier and Type | Method and Description |
|---|---|
jadex.commons.future.IFuture<java.lang.Void> |
execute(IInternalAccess ia)
Removes the first entry from the
ITimer array from the micro agents
MicroAgent#timers List and executes the IComponentStep. |
IComponentStep<java.lang.Void> |
getComponentStep()
Returns the
IComponentStep that is scheduled for execution. |
java.lang.String |
toString() |
public ExecuteWaitForStep(ITimer ts, IComponentStep<java.lang.Void> run)
ITimers and the IComponentStep
which is scheduled for execution.ts - an array of ITimersrun - the IComponentStep which is scheduled for executionpublic jadex.commons.future.IFuture<java.lang.Void> execute(IInternalAccess ia)
ITimer array from the micro agents
MicroAgent#timers List and executes the IComponentStep.execute in interface IComponentStep<java.lang.Void>public java.lang.String toString()
toString in class java.lang.Objectpublic IComponentStep<java.lang.Void> getComponentStep()
IComponentStep that is scheduled for execution.IComponentStep that is scheduled for execution