Enum RedirectState

java.lang.Object
java.lang.Enum<RedirectState>
com.adobe.acs.commons.redirects.models.RedirectState
All Implemented Interfaces:
Serializable, Comparable<RedirectState>

public enum RedirectState extends Enum<RedirectState>
  • Enum Constant Details

    • ACTIVE

      public static final RedirectState ACTIVE
      Active: redirect rule meets the on-time/off-time criteria, i.e. activation date is previous or equal to current date and previous to the expiration date.
    • EXPIRED

      public static final RedirectState EXPIRED
      Expired: expiration date is previous or equals to current date.
    • PENDING

      public static final RedirectState PENDING
      Pending: current date is previous to activation date
    • INVALID

      public static final RedirectState INVALID
      if there is an error with the configuration of a redirect (for instance, activation date is previous to expiration date)
  • Method Details

    • values

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

      public static RedirectState valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getDescription

      public String getDescription()
    • getName

      public String getName()