Class DestroyComponentTask

  • All Implemented Interfaces:
    ITask

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

      • DestroyComponentTask

        public DestroyComponentTask()
    • Method Detail

      • execute

        public IFuture<java.lang.Void> execute​(ITaskContext context,
                                               IInternalAccess 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 IFuture<java.lang.Void> cancel​(IInternalAccess instance)
        Compensate in case the task is canceled.
        Specified by:
        cancel in interface ITask
        Returns:
        To be notified, when the compensation has completed.