java.lang.Object
com.broadleafcommerce.orchestration.service.provider.domain.WorkflowRequest
All Implemented Interfaces:
Serializable

public class WorkflowRequest extends Object implements Serializable
Embodies data related to requesting a remote workflow execution
See Also:
  • Constructor Details

    • WorkflowRequest

      public WorkflowRequest()
    • WorkflowRequest

      public WorkflowRequest(Map<String,String> parameters, String workflowName, String reference, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
  • Method Details

    • getParameters

      public Map<String,String> getParameters()
      The parameters that should be passed into the workflow. These parameters will generally inform the logic performed during the workflow execution lifecycle.
    • getWorkflowName

      public String getWorkflowName()
      The name of the workflow for which execution is requested
    • getReference

      public String getReference()
      Optional. A reference value to which this workflow is correlated. The system will not start more than one workflow for a given reference value. The value must be less than or equal to 36 chars in length. Usually a ULID primary key for an entity.
    • getContextInfo

      public com.broadleafcommerce.data.tracking.core.context.ContextInfo getContextInfo()
      Context information to use for the remote request
    • setParameters

      public void setParameters(Map<String,String> parameters)
      The parameters that should be passed into the workflow. These parameters will generally inform the logic performed during the workflow execution lifecycle.
    • setWorkflowName

      public void setWorkflowName(String workflowName)
      The name of the workflow for which execution is requested
    • setReference

      public void setReference(String reference)
      Optional. A reference value to which this workflow is correlated. The system will not start more than one workflow for a given reference value. The value must be less than or equal to 36 chars in length. Usually a ULID primary key for an entity.
    • setContextInfo

      public void setContextInfo(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Context information to use for the remote request
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object