Interface CommandWithVariables<T>

All Known Subinterfaces:
ActivateAdHocSubProcessActivitiesCommandStep1.ActivateAdHocSubProcessActivitiesCommandStep2, CompleteAdHocSubProcessResultStep1.CompleteAdHocSubProcessResultStep2, CompleteJobCommandStep1, CompleteUserTaskCommandStep1, CorrelateMessageCommandStep1.CorrelateMessageCommandStep3, CreateProcessInstanceCommandStep1.CreateProcessInstanceCommandStep3, EvaluateDecisionCommandStep1.EvaluateDecisionCommandStep2, FailJobCommandStep1.FailJobCommandStep2, PublishMessageCommandStep1.PublishMessageCommandStep3, SetVariablesCommandStep1, ThrowErrorCommandStep1.ThrowErrorCommandStep2
All Known Implementing Classes:
ActivateAdHocSubProcessActivitiesCommandImpl, CompleteAdHocSubProcessJobResultImpl, CompleteJobCommandImpl, CompleteUserTaskCommandImpl, CorrelateMessageCommandImpl, CreateProcessInstanceCommandImpl, EvaluateDecisionCommandImpl, FailJobCommandImpl, PublishMessageCommandImpl, SetVariablesCommandImpl, ThrowErrorCommandImpl

public interface CommandWithVariables<T>
  • Method Details

    • variables

      T variables(String variables)
      Parameters:
      variables - the variables (JSON) as String
      Returns:
      the builder for this command. Call
      invalid reference
      #send()
      to complete the command and send it to the broker.
    • variables

      T variables(Object variables)
      Parameters:
      variables - the variables as object
      Returns:
      the builder for this command. Call
      invalid reference
      #send()
      to complete the command and send it to the broker.
    • variables

      T variables(InputStream variables)
      Parameters:
      variables - the variables (JSON) as stream
      Returns:
      the builder for this command. Call
      invalid reference
      #send()
      to complete the command and send it to the broker.
    • variables

      T variables(Map<String,Object> variables)
      Parameters:
      variables - the variables as map
      Returns:
      the builder for this command. Call
      invalid reference
      #send()
      to complete the command and send it to the broker.
    • variable

      T variable(String key, Object value)
      Parameters:
      key - the key of the variable as string
      value - the value of the variable as object
      Returns:
      the builder for this command. Call
      invalid reference
      #send()
      to complete the command and send it to the broker.