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.ITaskTask for creating a component.
- 
- 
Field SummaryFields Modifier and Type Field Description protected Future<IComponentIdentifier>creationfutureFuture called when the component is created to allow compensation (i.e.
 - 
Constructor SummaryConstructors Constructor Description CreateComponentTask()
 - 
Method SummaryAll 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.TaskMetaInfogetMetaInfo()Get the meta information about the agent.
 
- 
- 
- 
Field Detail- 
creationfutureprotected Future<IComponentIdentifier> creationfuture Future called when the component is created to allow compensation (i.e. killing the component).
 
- 
 - 
Method Detail- 
executepublic IFuture<java.lang.Void> execute(jadex.bpmn.model.task.ITaskContext context, IInternalAccess instance) Execute the task.- Specified by:
- executein interface- jadex.bpmn.model.task.ITask
 
 - 
cancelpublic IFuture<java.lang.Void> cancel(IInternalAccess instance) Compensate in case the task is canceled.- Specified by:
- cancelin interface- jadex.bpmn.model.task.ITask
- Returns:
- To be notified, when the compensation has completed.
 
 - 
getMetaInfopublic static jadex.bpmn.task.info.TaskMetaInfo getMetaInfo() Get the meta information about the agent.
 
- 
 
-