Class SetProcessInstanceVariablesCommand
- java.lang.Object
-
- org.drools.core.command.runtime.process.SetProcessInstanceVariablesCommand
-
- All Implemented Interfaces:
Serializable
,org.kie.api.command.Command<Void>
,org.kie.api.command.ExecutableCommand<Void>
,org.kie.internal.command.ProcessInstanceIdCommand
public class SetProcessInstanceVariablesCommand extends Object implements org.kie.api.command.ExecutableCommand<Void>, org.kie.internal.command.ProcessInstanceIdCommand
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SetProcessInstanceVariablesCommand()
SetProcessInstanceVariablesCommand(long processInstanceId, Map<String,Object> variables)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Void
execute(org.kie.api.runtime.Context context)
Long
getProcessInstanceId()
Map<String,Object>
getVariables()
void
setProcessInstanceId(Long processInstanceId)
void
setVariables(Map<String,Object> variables)
String
toString()
-
-
-
Method Detail
-
getProcessInstanceId
public Long getProcessInstanceId()
- Specified by:
getProcessInstanceId
in interfaceorg.kie.internal.command.ProcessInstanceIdCommand
-
setProcessInstanceId
public void setProcessInstanceId(Long processInstanceId)
- Specified by:
setProcessInstanceId
in interfaceorg.kie.internal.command.ProcessInstanceIdCommand
-
execute
public Void execute(org.kie.api.runtime.Context context)
- Specified by:
execute
in interfaceorg.kie.api.command.ExecutableCommand<Void>
-
-