Class StartProcessFromNodeIdsCommand
- java.lang.Object
-
- org.drools.core.command.runtime.process.StartProcessCommand
-
- org.drools.core.command.runtime.process.StartProcessFromNodeIdsCommand
-
- All Implemented Interfaces:
Serializable
,IdentifiableResult
,org.kie.api.command.Command<org.kie.api.runtime.process.ProcessInstance>
,org.kie.api.command.ExecutableCommand<org.kie.api.runtime.process.ProcessInstance>
,org.kie.internal.command.CorrelationKeyCommand
public class StartProcessFromNodeIdsCommand extends StartProcessCommand implements org.kie.internal.command.CorrelationKeyCommand
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StartProcessFromNodeIdsCommand()
StartProcessFromNodeIdsCommand(String processId, String outIdentifier)
StartProcessFromNodeIdsCommand(String processId, Map<String,Object> parameters)
StartProcessFromNodeIdsCommand(String processId, Map<String,Object> parameters, String outIdentifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.kie.api.runtime.process.ProcessInstance
execute(org.kie.api.runtime.Context context)
org.kie.internal.process.CorrelationKey
getCorrelationKey()
List<String>
getNodeIds()
void
setCorrelationKey(org.kie.internal.process.CorrelationKey key)
void
setNodeIds(List<String> nodeIds)
-
Methods inherited from class org.drools.core.command.runtime.process.StartProcessCommand
getAgendaFilter, getData, getOutIdentifier, getParameters, getProcessId, putParameter, setAgendaFilter, setData, setOutIdentifier, setParameters, setProcessId, toString
-
-
-
-
Constructor Detail
-
StartProcessFromNodeIdsCommand
public StartProcessFromNodeIdsCommand()
-
StartProcessFromNodeIdsCommand
public StartProcessFromNodeIdsCommand(String processId, String outIdentifier)
-
StartProcessFromNodeIdsCommand
public StartProcessFromNodeIdsCommand(String processId, Map<String,Object> parameters)
-
-
Method Detail
-
setCorrelationKey
public void setCorrelationKey(org.kie.internal.process.CorrelationKey key)
- Specified by:
setCorrelationKey
in interfaceorg.kie.internal.command.CorrelationKeyCommand
-
getCorrelationKey
public org.kie.internal.process.CorrelationKey getCorrelationKey()
- Specified by:
getCorrelationKey
in interfaceorg.kie.internal.command.CorrelationKeyCommand
-
execute
public org.kie.api.runtime.process.ProcessInstance execute(org.kie.api.runtime.Context context)
- Specified by:
execute
in interfaceorg.kie.api.command.ExecutableCommand<org.kie.api.runtime.process.ProcessInstance>
- Overrides:
execute
in classStartProcessCommand
-
-