Class StepExecution

java.lang.Object
com.broadleafcommerce.orchestration.internal.StepExecution

public class StepExecution extends Object
Description of the execution state of a given Step
  • Constructor Details

    • StepExecution

      public StepExecution(String name, boolean executed, boolean adminSelectableCandidate, String errorInformation, boolean isError)
  • Method Details

    • 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
    • getName

      public String getName()
      The name of the step. See SimpleActivity.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 by SimpleWorkflow.allowRetry() and SimpleWorkflow.allowHistoricalReset().
    • getErrorInformation

      public String getErrorInformation()
      Any information regarding errors this step may have encountered during execution.
    • isError

      public boolean isError()
      Whether the step is in an error state.