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
ITimer s 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)
ITimer
s and the IComponentStep
which is scheduled for execution.ts
- an array of ITimer
srun
- 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.Object
public IComponentStep<java.lang.Void> getComponentStep()
IComponentStep
that is scheduled for execution.IComponentStep
that is scheduled for execution