Class DestroyComponentTask

java.lang.Object
jadex.bpmn.runtime.task.DestroyComponentTask
All Implemented Interfaces:
ITask

public class DestroyComponentTask extends Object implements ITask
Task for destroying a component.
  • Constructor Details

    • DestroyComponentTask

      public DestroyComponentTask()
  • Method Details

    • execute

      public jadex.future.IFuture<Void> execute(ITaskContext context, jadex.core.IComponent instance)
      Execute the task.
      Specified by:
      execute in interface ITask
      Parameters:
      context - The accessible values.
      instance - The process instance executing the task.
      Returns:
      To be notified, when the task has completed.
    • cancel

      public jadex.future.IFuture<Void> cancel(jadex.core.IComponent instance)
      Compensate in case the task is canceled.
      Specified by:
      cancel in interface ITask
      Returns:
      To be notified, when the compensation has completed.