Class DestroyComponentTask

  • All Implemented Interfaces:
    jadex.bpmn.model.task.ITask

    public class DestroyComponentTask
    extends java.lang.Object
    implements jadex.bpmn.model.task.ITask
    Task for destroying a component.
    • Constructor Detail

      • DestroyComponentTask

        public DestroyComponentTask()
    • 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.