Package jadex.bpmn.runtime.task
Class CreateComponentTask
- java.lang.Object
-
- jadex.bpmn.runtime.task.CreateComponentTask
-
- All Implemented Interfaces:
jadex.bpmn.model.task.ITask
public class CreateComponentTask extends java.lang.Object implements jadex.bpmn.model.task.ITask
Task for creating a component.
-
-
Field Summary
Fields Modifier and Type Field Description protected Future<IComponentIdentifier>
creationfuture
Future called when the component is created to allow compensation (i.e.
-
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(jadex.bpmn.model.task.ITaskContext context, IInternalAccess instance)
Execute the task.static jadex.bpmn.task.info.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(jadex.bpmn.model.task.ITaskContext context, IInternalAccess instance)
Execute the task.- Specified by:
execute
in interfacejadex.bpmn.model.task.ITask
-
cancel
public IFuture<java.lang.Void> cancel(IInternalAccess instance)
Compensate in case the task is canceled.- Specified by:
cancel
in interfacejadex.bpmn.model.task.ITask
- Returns:
- To be notified, when the compensation has completed.
-
getMetaInfo
public static jadex.bpmn.task.info.TaskMetaInfo getMetaInfo()
Get the meta information about the agent.
-
-