org.jbpm.task.commands
Class StartTaskCommand
java.lang.Object
org.jbpm.task.commands.TaskCommand
org.jbpm.task.commands.StartTaskCommand
- All Implemented Interfaces:
- Serializable, org.drools.command.impl.GenericCommand, Command
public class StartTaskCommand
- extends TaskCommand
Operation.Start : [ new OperationCommand().{ status = [ Status.Ready ],
allowed = [ Allowed.PotentialOwner ], setNewOwnerToUser = true, newStatus =
Status.InProgress }, new OperationCommand().{ status = [ Status.Reserved ],
allowed = [ Allowed.Owner ], newStatus = Status.InProgress } ], *
- See Also:
- Serialized Form
Method Summary |
Void |
execute(org.kie.command.Context cntxt)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StartTaskCommand
public StartTaskCommand(long taskId,
String userId)
execute
public Void execute(org.kie.command.Context cntxt)
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.