Package jadex.bdi.runtime.impl
Class RPlan.ResumeCommand<T>
java.lang.Object
jadex.bdi.runtime.impl.RPlan.ResumeCommand<T>
- All Implemented Interfaces:
jadex.common.ICommand<RPlan.ResumeCommandArgs>
- Enclosing class:
RPlan
public class RPlan.ResumeCommand<T>
extends Object
implements jadex.common.ICommand<RPlan.ResumeCommandArgs>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected String
protected jadex.future.ISuspendable
protected RPlan.RescomTimer
<T> protected jadex.future.Future
<T> -
Constructor Summary
ConstructorsConstructorDescriptionResumeCommand
(jadex.future.Future<T> waitfuture, boolean isvoid) ResumeCommand
(jadex.future.Future<T> waitfuture, jadex.future.ISuspendable sus, boolean isvoid) ResumeCommand
(jadex.future.Future<T> waitfuture, String rulename, boolean isvoid) -
Method Summary
Modifier and TypeMethodDescriptionvoid
first Boolean: notify (default true) second Boolean: abort (default false)jadex.future.Future
<T> Get the waitfuture.void
setTimer
(RPlan.RescomTimer<T> timer)
-
Field Details
-
sus
protected jadex.future.ISuspendable sus -
waitfuture
-
rulename
-
timer
-
isvoid
protected boolean isvoid
-
-
Constructor Details
-
ResumeCommand
-
ResumeCommand
-
ResumeCommand
public ResumeCommand(jadex.future.Future<T> waitfuture, jadex.future.ISuspendable sus, boolean isvoid)
-
-
Method Details
-
setTimer
-
execute
first Boolean: notify (default true) second Boolean: abort (default false)- Specified by:
execute
in interfacejadex.common.ICommand<T>
-
getWaitfuture
Get the waitfuture.- Returns:
- The waitfuture
-