public class StartCorrelatedProcessCommand extends Object implements ExecutableCommand<org.kie.api.runtime.process.ProcessInstance>, IdentifiableResult, org.kie.internal.command.CorrelationKeyCommand
| Constructor and Description |
|---|
StartCorrelatedProcessCommand() |
StartCorrelatedProcessCommand(String processId,
org.kie.internal.process.CorrelationKey correlationKey) |
StartCorrelatedProcessCommand(String processId,
org.kie.internal.process.CorrelationKey correlationKey,
Map<String,Object> parameters) |
StartCorrelatedProcessCommand(String processId,
org.kie.internal.process.CorrelationKey correlationKey,
Map<String,Object> parameters,
String outIdentifier) |
StartCorrelatedProcessCommand(String processId,
org.kie.internal.process.CorrelationKey correlationKey,
String outIdentifier) |
| Modifier and Type | Method and Description |
|---|---|
org.kie.api.runtime.process.ProcessInstance |
execute(org.kie.api.runtime.Context context) |
org.kie.internal.process.CorrelationKey |
getCorrelationKey() |
List<Object> |
getData() |
String |
getOutIdentifier() |
Map<String,Object> |
getParameters() |
String |
getProcessId() |
void |
putParameter(String key,
Object value) |
void |
setCorrelationKey(org.kie.internal.process.CorrelationKey correlationKey) |
void |
setData(List<Object> data) |
void |
setOutIdentifier(String outIdentifier) |
void |
setParameters(Map<String,Object> parameters) |
void |
setProcessId(String processId) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanRunInTransactionpublic StartCorrelatedProcessCommand()
public StartCorrelatedProcessCommand(String processId, org.kie.internal.process.CorrelationKey correlationKey)
public StartCorrelatedProcessCommand(String processId, org.kie.internal.process.CorrelationKey correlationKey, String outIdentifier)
public StartCorrelatedProcessCommand(String processId, org.kie.internal.process.CorrelationKey correlationKey, Map<String,Object> parameters)
public String getProcessId()
public void setProcessId(String processId)
public void setOutIdentifier(String outIdentifier)
setOutIdentifier in interface IdentifiableResultpublic String getOutIdentifier()
getOutIdentifier in interface IdentifiableResultpublic org.kie.internal.process.CorrelationKey getCorrelationKey()
getCorrelationKey in interface org.kie.internal.command.CorrelationKeyCommandpublic void setCorrelationKey(org.kie.internal.process.CorrelationKey correlationKey)
setCorrelationKey in interface org.kie.internal.command.CorrelationKeyCommandpublic org.kie.api.runtime.process.ProcessInstance execute(org.kie.api.runtime.Context context)
execute in interface ExecutableCommand<org.kie.api.runtime.process.ProcessInstance>Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.