Class SetProcessInstanceVariablesCommand

java.lang.Object
org.drools.commands.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:
  • Constructor Details

    • SetProcessInstanceVariablesCommand

      public SetProcessInstanceVariablesCommand()
    • SetProcessInstanceVariablesCommand

      public SetProcessInstanceVariablesCommand(String processInstanceId, Map<String,Object> variables)
  • Method Details

    • getProcessInstanceId

      public String getProcessInstanceId()
      Specified by:
      getProcessInstanceId in interface org.kie.internal.command.ProcessInstanceIdCommand
    • setProcessInstanceId

      public void setProcessInstanceId(String processInstanceId)
      Specified by:
      setProcessInstanceId in interface org.kie.internal.command.ProcessInstanceIdCommand
    • getVariables

      public Map<String,Object> getVariables()
    • setVariables

      public void setVariables(Map<String,Object> variables)
    • execute

      public Void execute(org.kie.api.runtime.Context context)
      Specified by:
      execute in interface org.kie.api.command.ExecutableCommand<Void>
    • toString

      public String toString()
      Overrides:
      toString in class Object