Class Workflow
java.lang.Object
com.broadleafcommerce.workflow.domain.Workflow
Represents a single execution of a
SimpleWorkflow
bean.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
com.broadleafcommerce.data.tracking.core.filtering.domain.BasicAudit
Audit information regarding creation and update author and timestampKey/Value pairs used to inform the logic performed during workflow executionShort description of the purpose of the workflowgetId()
Primary keyThe most recent exception that took place during a previous workflow execution.Token associated with the workflow to correlate with messaging.getName()
The name of the workflow.Optional.The status of execution of the workflow.int
hashCode()
void
setBasicAudit
(com.broadleafcommerce.data.tracking.core.filtering.domain.BasicAudit basicAudit) Audit information regarding creation and update author and timestampvoid
setContextValues
(Set<ContextValue> contextValues) Key/Value pairs used to inform the logic performed during workflow executionvoid
setDescription
(String description) Short description of the purpose of the workflowvoid
Primary keyvoid
setLastException
(String lastException) The most recent exception that took place during a previous workflow execution.void
setLaunchToken
(String launchToken) Token associated with the workflow to correlate with messaging.void
The name of the workflow.void
setReference
(String reference) Optional.void
The status of execution of the workflow.toString()
-
Constructor Details
-
Workflow
public Workflow() -
Workflow
-
-
Method Details
-
getId
Primary key -
getName
The name of the workflow. Must match the Spring bean name. -
getDescription
Short description of the purpose of the workflow -
getStatus
The status of execution of the workflow. SeeWorkflowStatus
. -
getBasicAudit
public com.broadleafcommerce.data.tracking.core.filtering.domain.BasicAudit getBasicAudit()Audit information regarding creation and update author and timestamp -
getContextValues
Key/Value pairs used to inform the logic performed during workflow execution -
getLastException
The most recent exception that took place during a previous workflow execution. -
getLaunchToken
Token associated with the workflow to correlate with messaging. SeeInformational.getLaunchToken()
. -
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. -
setId
Primary key -
setName
The name of the workflow. Must match the Spring bean name. -
setDescription
Short description of the purpose of the workflow -
setStatus
The status of execution of the workflow. SeeWorkflowStatus
. -
setBasicAudit
public void setBasicAudit(com.broadleafcommerce.data.tracking.core.filtering.domain.BasicAudit basicAudit) Audit information regarding creation and update author and timestamp -
setContextValues
Key/Value pairs used to inform the logic performed during workflow execution -
setLastException
The most recent exception that took place during a previous workflow execution. -
setLaunchToken
Token associated with the workflow to correlate with messaging. SeeInformational.getLaunchToken()
. -
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. -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-