Class WorkflowRequest
java.lang.Object
com.broadleafcommerce.orchestration.service.provider.domain.WorkflowRequest
- All Implemented Interfaces:
Serializable
Embodies data related to requesting a remote workflow execution
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
com.broadleafcommerce.data.tracking.core.context.ContextInfo
Context information to use for the remote requestThe parameters that should be passed into the workflow.Optional.The name of the workflow for which execution is requestedint
hashCode()
void
setContextInfo
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Context information to use for the remote requestvoid
setParameters
(Map<String, String> parameters) The parameters that should be passed into the workflow.void
setReference
(String reference) Optional.void
setWorkflowName
(String workflowName) The name of the workflow for which execution is requestedtoString()
-
Constructor Details
-
WorkflowRequest
public WorkflowRequest() -
WorkflowRequest
-
-
Method Details
-
getParameters
The parameters that should be passed into the workflow. These parameters will generally inform the logic performed during the workflow execution lifecycle. -
getWorkflowName
The name of the workflow for which execution is requested -
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
The parameters that should be passed into the workflow. These parameters will generally inform the logic performed during the workflow execution lifecycle. -
setWorkflowName
The name of the workflow for which execution is requested -
setReference
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
-
canEqual
-
hashCode
public int hashCode() -
toString
-