Class StartProcessCommand
java.lang.Object
org.drools.commands.runtime.process.StartProcessCommand
- 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>
- Direct Known Subclasses:
StartProcessFromNodeIdsCommand
public class StartProcessCommand
extends Object
implements org.kie.api.command.ExecutableCommand<org.kie.api.runtime.process.ProcessInstance>, IdentifiableResult
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStartProcessCommand(String processId) StartProcessCommand(String processId, String outIdentifier) StartProcessCommand(String processId, Map<String, Object> parameters) -
Method Summary
Modifier and TypeMethodDescriptionorg.kie.api.runtime.process.ProcessInstanceexecute(org.kie.api.runtime.Context context) org.kie.api.runtime.rule.AgendaFiltergetData()voidputParameter(String key, Object value) voidsetAgendaFilter(org.kie.api.runtime.rule.AgendaFilter agendaFilter) voidvoidsetOutIdentifier(String outIdentifier) voidsetParameters(Map<String, Object> parameters) voidsetProcessId(String processId) toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.kie.api.command.ExecutableCommand
autoFireAllRules
-
Constructor Details
-
StartProcessCommand
public StartProcessCommand() -
StartProcessCommand
-
StartProcessCommand
-
StartProcessCommand
-
StartProcessCommand
-
-
Method Details
-
getProcessId
-
setProcessId
-
getParameters
-
setParameters
-
putParameter
-
getData
-
setData
-
setOutIdentifier
- Specified by:
setOutIdentifierin interfaceIdentifiableResult
-
getOutIdentifier
- Specified by:
getOutIdentifierin interfaceIdentifiableResult
-
getAgendaFilter
public org.kie.api.runtime.rule.AgendaFilter getAgendaFilter() -
setAgendaFilter
public void setAgendaFilter(org.kie.api.runtime.rule.AgendaFilter agendaFilter) -
execute
public org.kie.api.runtime.process.ProcessInstance execute(org.kie.api.runtime.Context context) - Specified by:
executein interfaceorg.kie.api.command.ExecutableCommand<org.kie.api.runtime.process.ProcessInstance>
-
toString
-