public class RPlan.ResumeCommand<T>
extends java.lang.Object
implements jadex.commons.ICommand<jadex.commons.Tuple2<java.lang.Boolean,java.lang.Boolean>>
Modifier and Type | Field and Description |
---|---|
protected boolean |
isvoid |
protected java.lang.String |
rulename |
protected jadex.bridge.service.component.ComponentSuspendable |
sus |
protected jadex.bridge.service.types.clock.ITimer |
timer |
protected jadex.commons.future.Future<T> |
waitfuture |
Constructor and Description |
---|
ResumeCommand(jadex.bridge.service.component.ComponentSuspendable sus,
boolean isvoid) |
ResumeCommand(jadex.commons.future.Future<T> waitfuture,
boolean isvoid) |
ResumeCommand(jadex.commons.future.Future<T> waitfuture,
java.lang.String rulename,
boolean isvoid) |
Modifier and Type | Method and Description |
---|---|
void |
execute(jadex.commons.Tuple2<java.lang.Boolean,java.lang.Boolean> args)
first Boolean: notify (default true)
second Boolean: abort (default false)
|
jadex.commons.future.Future<T> |
getWaitfuture()
Get the waitfuture.
|
void |
setTimer(jadex.bridge.service.types.clock.ITimer timer) |
protected jadex.bridge.service.component.ComponentSuspendable sus
protected jadex.commons.future.Future<T> waitfuture
protected java.lang.String rulename
protected jadex.bridge.service.types.clock.ITimer timer
protected boolean isvoid
public ResumeCommand(jadex.commons.future.Future<T> waitfuture, boolean isvoid)
public ResumeCommand(jadex.commons.future.Future<T> waitfuture, java.lang.String rulename, boolean isvoid)
public ResumeCommand(jadex.bridge.service.component.ComponentSuspendable sus, boolean isvoid)
public void setTimer(jadex.bridge.service.types.clock.ITimer timer)
public void execute(jadex.commons.Tuple2<java.lang.Boolean,java.lang.Boolean> args)
execute
in interface jadex.commons.ICommand<jadex.commons.Tuple2<java.lang.Boolean,java.lang.Boolean>>
public jadex.commons.future.Future<T> getWaitfuture()