Class UserInteractionTask

  • All Implemented Interfaces:
    ITask

    public class UserInteractionTask
    extends java.lang.Object
    implements ITask
    Opens a dialog for the task and lets the user enter result parameters.
    • Field Detail

      • dialog

        protected javax.swing.JDialog dialog
        The dialog.
    • Constructor Detail

      • UserInteractionTask

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