org.jbpm.command
Class GetProcessInstanceCommand
java.lang.Object
org.jbpm.command.AbstractGetObjectBaseCommand
org.jbpm.command.GetProcessInstanceCommand
- All Implemented Interfaces:
- java.io.Serializable, Command
public class GetProcessInstanceCommand
- extends AbstractGetObjectBaseCommand
This command can retrieve the matching process instances (e.g. for admin
client) with the given process-id, token id or task-id
- Author:
- Bernd Ruecker (bernd.ruecker@camunda.com)
- See Also:
- Serialized Form
Methods inherited from class org.jbpm.command.AbstractGetObjectBaseCommand |
getVariablesToInclude, isIncludeAllVariables, isIncludeLogs, retrieveLogs, retrieveProcessInstance, retrieveTaskInstanceDetails, retrieveToken, retrieveVariables, retrieveVariables, setIncludeAllVariables, setIncludeLogs, setVariablesToInclude, setVariablesToInclude |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetProcessInstanceCommand
public GetProcessInstanceCommand()
GetProcessInstanceCommand
public GetProcessInstanceCommand(long processInstanceId)
GetProcessInstanceCommand
public GetProcessInstanceCommand(long processInstanceId,
boolean includeVariables,
boolean includeLogs)
execute
public java.lang.Object execute(JbpmContext jbpmContext)
throws java.lang.Exception
- Throws:
java.lang.Exception
getProcessInstanceId
public long getProcessInstanceId()
setProcessInstanceId
public void setProcessInstanceId(long processInstanceId)
getTaskInstanceId
public long getTaskInstanceId()
setTaskInstanceId
public void setTaskInstanceId(long taskInstanceId)
getTokenId
public long getTokenId()
setTokenId
public void setTokenId(long tokenId)