Enum Class ChangeStatusType

java.lang.Object
java.lang.Enum<ChangeStatusType>
com.broadleafcommerce.sandbox.domain.ChangeStatusType
All Implemented Interfaces:
Serializable, Comparable<ChangeStatusType>, Constable

public enum ChangeStatusType extends Enum<ChangeStatusType>
The current status of a ChangeEvent. This represents both completed (i.e., REJECTED, FINISHED, or an error state) and ongoing (any status with ING) types.
Author:
Chad Harchar (charchar)
  • Enum Constant Details

    • REJECTED

      public static final ChangeStatusType REJECTED
      Indicates that a ChangeSummaryGroup has been rejected by a reviewer.
    • ERROR_PROMOTE

      public static final ChangeStatusType ERROR_PROMOTE
      Indicates that a promotion for a ChangeSummary has resulted in an error.
    • ERROR_REBASE

      public static final ChangeStatusType ERROR_REBASE
      Indicates that a rebase for a ChangeSummary has resulted in an error.
    • ERROR_REVERT

      public static final ChangeStatusType ERROR_REVERT
      Indicates that a reversion for a ChangeSummary has resulted in an error.
    • ERROR_REJECT

      public static final ChangeStatusType ERROR_REJECT
      Indicates that a rejection for a summary or group has resulted in an error.
    • ERROR_DEPLOY

      public static final ChangeStatusType ERROR_DEPLOY
      Indicates that a deployment for a summary or group has resulted in an error.
    • ERROR_SCHEDULE

      public static final ChangeStatusType ERROR_SCHEDULE
      Indicates that scheduling a deployment for a summary or group has resulted in an error.
    • ERROR_UNSCHEDULE

      public static final ChangeStatusType ERROR_UNSCHEDULE
      Indicates that unscheduling a deployment for a summary or group has resulted in an error.
    • PROMOTING

      public static final ChangeStatusType PROMOTING
      Indicates that a summary or group is in the process of being promoted so that it can be reviewed by a reviewer.
    • DEPLOYING

      public static final ChangeStatusType DEPLOYING
      Indicates that a summary, group, or deployment is in the process of being deployed, which will make the change live for production.
    • REVERTING

      public static final ChangeStatusType REVERTING
      Indicates that a ChangeSummary is in the process of being reverted.
    • REBASING

      public static final ChangeStatusType REBASING
      Indicates that a ChangeSummary is in the process of being rebased. A rebase occurs when a change is made against divergent data.
    • REJECTING

      public static final ChangeStatusType REJECTING
      Indicates that a summary or group is in the process of being rejected. A rejection occurs when a reviewer has rejected promoted changes.
    • SCHEDULING

      public static final ChangeStatusType SCHEDULING
      Indicates that a summary, group, or deployment is in the process of being scheduled for deployment. Scheduling occurs when changes should be pushed to production at a future date rather than immediately.
    • UNSCHEDULING

      public static final ChangeStatusType UNSCHEDULING
      Indicates that a summary or group is in the process of having its scheduled deployment cancelled.
    • FINISHED

      public static final ChangeStatusType FINISHED
      Indicates that a summary group is has finished processing, which should result in an update to the their status fields.
  • Method Details

    • values

      public static ChangeStatusType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ChangeStatusType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • active

      public static List<String> active()
    • error

      public static List<String> error()
    • restingUser

      public static List<String> restingUser(ChangeStatusType... additions)
    • restingCompletionUser

      public static List<String> restingCompletionUser(ChangeStatusType... additions)
    • restingPromoted

      public static List<String> restingPromoted(ChangeStatusType... additions)
    • restingCompletionPromoted

      public static List<String> restingCompletionPromoted(ChangeStatusType... additions)
    • restingApproved

      public static List<String> restingApproved(ChangeStatusType... additions)
    • restingCompletionApproved

      public static List<String> restingCompletionApproved(ChangeStatusType... additions)
    • awaitingRejectionCompletion

      public static List<String> awaitingRejectionCompletion(ChangeStatusType... additions)
    • restingScheduled

      public static List<String> restingScheduled(ChangeStatusType... additions)
    • restingCompletionScheduled

      public static List<String> restingCompletionScheduled(ChangeStatusType... additions)