Package jadex.bpmn.runtime.task
Class CreateComponentTask
java.lang.Object
jadex.bpmn.runtime.task.CreateComponentTask
- All Implemented Interfaces:
ITask
Task for creating a component.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected jadex.future.Future
<jadex.core.ComponentIdentifier> Future called when the component is created to allow compensation (i.e. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjadex.future.IFuture
<Void> cancel
(jadex.core.IComponent instance) Compensate in case the task is canceled.jadex.future.IFuture
<Void> execute
(ITaskContext context, jadex.core.IComponent instance) Execute the task.static TaskMetaInfo
Get the meta information about the agent.
-
Field Details
-
creationfuture
protected jadex.future.Future<jadex.core.ComponentIdentifier> creationfutureFuture called when the component is created to allow compensation (i.e. killing the component).
-
-
Constructor Details
-
CreateComponentTask
public CreateComponentTask()
-
-
Method Details
-
execute
Execute the task. -
cancel
Compensate in case the task is canceled. -
getMetaInfo
Get the meta information about the agent.
-