Package jadex.bpmn.runtime.task
Class UserInteractionTask
- java.lang.Object
-
- jadex.bpmn.runtime.task.UserInteractionTask
-
- All Implemented Interfaces:
jadex.bpmn.model.task.ITask
public class UserInteractionTask extends java.lang.Object implements jadex.bpmn.model.task.ITask
Opens a dialog for the task and lets the user enter result parameters.
-
-
Field Summary
Fields Modifier and Type Field Description protected javax.swing.JDialog
dialog
The dialog.
-
Constructor Summary
Constructors Constructor Description UserInteractionTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<java.lang.Void>
cancel(IInternalAccess instance)
Compensate in case the task is canceled.IFuture<java.lang.Void>
execute(jadex.bpmn.model.task.ITaskContext context, IInternalAccess instance)
Execute the task.protected java.util.List<java.lang.Object[]>
extractParams(jadex.bpmn.model.task.ITaskContext context, IInternalAccess instance, IndexMap<java.lang.String,jadex.bpmn.model.MParameter> parameters)
-
-
-
Method Detail
-
execute
public IFuture<java.lang.Void> execute(jadex.bpmn.model.task.ITaskContext context, IInternalAccess instance)
Execute the task.- Specified by:
execute
in interfacejadex.bpmn.model.task.ITask
- Parameters:
context
- The accessible values.instance
- The process instance executing the task.
-
cancel
public IFuture<java.lang.Void> cancel(IInternalAccess instance)
Compensate in case the task is canceled.- Specified by:
cancel
in interfacejadex.bpmn.model.task.ITask
- Returns:
- To be notified, when the compensation has completed.
-
extractParams
protected java.util.List<java.lang.Object[]> extractParams(jadex.bpmn.model.task.ITaskContext context, IInternalAccess instance, IndexMap<java.lang.String,jadex.bpmn.model.MParameter> parameters)
-
-