Class 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 Detail

      • creationfuture

        protected Future<IComponentIdentifier> creationfuture
        Future called when the component is created to allow compensation (i.e. killing the component).
    • Constructor Detail

      • CreateComponentTask

        public CreateComponentTask()
    • Method Detail

      • execute

        public IFuture<java.lang.Void> execute​(jadex.bpmn.model.task.ITaskContext context,
                                               IInternalAccess instance)
        Execute the task.
        Specified by:
        execute in interface jadex.bpmn.model.task.ITask
      • cancel

        public IFuture<java.lang.Void> cancel​(IInternalAccess instance)
        Compensate in case the task is canceled.
        Specified by:
        cancel in interface jadex.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.