org.jbpm.services.task.commands
Class FailTaskCommand
java.lang.Object
org.jbpm.services.task.commands.TaskCommand<Void>
org.jbpm.services.task.commands.FailTaskCommand
- All Implemented Interfaces:
- Serializable, org.drools.core.command.impl.GenericCommand<Void>, Command<Void>
public class FailTaskCommand
- extends TaskCommand<Void>
Operation.Fail : [ new OperationCommand().{ status = [ Status.InProgress ],
allowed = [ Allowed.Owner ], newStatus = Status.Failed } ],
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FailTaskCommand
public FailTaskCommand()
FailTaskCommand
public FailTaskCommand(long taskId,
String userId,
Map<String,Object> data)
getData
public Map<String,Object> getData()
setData
public void setData(Map<String,Object> data)
execute
public Void execute(org.kie.internal.command.Context cntxt)
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.