Package jadex.bpmn.runtime.task
Class CreateComponentTask
- java.lang.Object
-
- jadex.bpmn.runtime.task.CreateComponentTask
-
-
Field Summary
Fields Modifier and Type Field Description protected Future<IComponentIdentifier>
creationfuture
Future called when the component is created to allow compensation (i.e. killing the component).
-
Constructor Summary
Constructors Constructor Description CreateComponentTask()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<java.lang.Void>
cancel(IInternalAccess instance)
Compensate in case the task is canceled.IFuture<java.lang.Void>
execute(ITaskContext context, IInternalAccess instance)
Execute the task.static TaskMetaInfo
getMetaInfo()
Get the meta information about the agent.
-
-
-
Field Detail
-
creationfuture
protected Future<IComponentIdentifier> creationfuture
Future called when the component is created to allow compensation (i.e. killing the component).
-
-
Method Detail
-
execute
public IFuture<java.lang.Void> execute(ITaskContext context, IInternalAccess instance)
Execute the task.
-
cancel
public IFuture<java.lang.Void> cancel(IInternalAccess instance)
Compensate in case the task is canceled.
-
getMetaInfo
public static TaskMetaInfo getMetaInfo()
Get the meta information about the agent.
-
-