Class UserInteractionTask

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

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

    • dialog

      protected JDialog dialog
      The dialog.
  • Constructor Details

    • UserInteractionTask

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

      protected List<Object[]> extractParams(ITaskContext context, jadex.core.IComponent instance, jadex.collection.IndexMap<String,MParameter> parameters)