org.jbpm.integration.console
Class CommandDelegate
java.lang.Object
org.jbpm.integration.console.CommandDelegate
public class CommandDelegate
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommandDelegate
public CommandDelegate()
getProcesses
public List<Process> getProcesses()
getProcess
public Process getProcess(String processId)
getProcessByName
public Process getProcessByName(String name)
removeProcess
public void removeProcess(String processId)
getProcessInstanceLog
public ProcessInstanceLog getProcessInstanceLog(String processInstanceId)
getProcessInstanceLogsByProcessId
public List<ProcessInstanceLog> getProcessInstanceLogsByProcessId(String processId)
getActiveProcessInstanceLogsByProcessId
public List<ProcessInstanceLog> getActiveProcessInstanceLogsByProcessId(String processId)
startProcess
public ProcessInstanceLog startProcess(String processId,
Map<String,Object> parameters)
abortProcessInstance
public void abortProcessInstance(String processInstanceId)
getProcessInstanceVariables
public Map<String,Object> getProcessInstanceVariables(String processInstanceId)
setProcessInstanceVariables
public void setProcessInstanceVariables(String processInstanceId,
Map<String,Object> variables)
- This method the variables provided in the map to the instance.
NOTE: the map will be added not replaced
- Parameters:
processInstanceId
- variables
-
signalExecution
public void signalExecution(String executionId,
String signal)
Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.