org.jbpm.command
Class CancelWorkOnTaskCommand
java.lang.Object
org.jbpm.command.CancelWorkOnTaskCommand
- All Implemented Interfaces:
- java.io.Serializable, Command
public class CancelWorkOnTaskCommand
- extends java.lang.Object
- implements Command
The current authorizes actor starts to work on the TaskInstance
so the actor is set to the given actor
see some more information why we need that in the
jbpm forum
- Author:
- Bernd Ruecker
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CancelWorkOnTaskCommand
public CancelWorkOnTaskCommand(long taskInstanceId)
CancelWorkOnTaskCommand
public CancelWorkOnTaskCommand()
execute
public java.lang.Object execute(JbpmContext jbpmContext)
throws java.lang.Exception
- Specified by:
execute
in interface Command
- Throws:
java.lang.Exception
getTaskInstanceId
public long getTaskInstanceId()
setTaskInstanceId
public void setTaskInstanceId(long taskInstanceId)