Class StepExecution
java.lang.Object
com.broadleafcommerce.orchestration.internal.StepExecution
Description of the execution state of a given
Step-
Constructor Summary
ConstructorsConstructorDescriptionStepExecution(String name, boolean executed, boolean adminSelectableCandidate, String errorInformation, boolean isError) Creates a newStepExecutioninstance. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanAny information regarding errors this step may have encountered during execution.getName()The name of the step.inthashCode()booleanWhether the step is a candidate for admin selection.booleanisError()Whether the step is in an error state.booleanWhether the step was already executed.toString()
-
Constructor Details
-
StepExecution
public StepExecution(String name, boolean executed, boolean adminSelectableCandidate, String errorInformation, boolean isError) Creates a newStepExecutioninstance.- Parameters:
name- The name of the step. SeeSimpleActivity.getName()executed- Whether the step was already executed.adminSelectableCandidate- Whether the step is a candidate for admin selection. Generally determined based on historical boundaries setup bySimpleWorkflow.allowRetry()andSimpleWorkflow.allowHistoricalReset().errorInformation- Any information regarding errors this step may have encountered during execution.isError- Whether the step is in an error state.
-
-
Method Details
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-
getName
The name of the step. SeeSimpleActivity.getName() -
isExecuted
public boolean isExecuted()Whether the step was already executed. -
isAdminSelectableCandidate
public boolean isAdminSelectableCandidate()Whether the step is a candidate for admin selection. Generally determined based on historical boundaries setup bySimpleWorkflow.allowRetry()andSimpleWorkflow.allowHistoricalReset(). -
getErrorInformation
Any information regarding errors this step may have encountered during execution. -
isError
public boolean isError()Whether the step is in an error state.
-