Enum Class APIConstants.Status

java.lang.Object
java.lang.Enum<APIConstants.Status>
com.ads.api.beans.common.APIConstants.Status
All Implemented Interfaces:
Serializable, Comparable<APIConstants.Status>, Constable
Enclosing class:
APIConstants

public static enum APIConstants.Status extends Enum<APIConstants.Status>
These ENUM constants are used to specify the status as ACTIVE, PASSIVE, RETIRE. The constants of this enumerated type provides a simple classification of the declared elements.
  • Enum Constant Details

    • RETIRE

      public static final APIConstants.Status RETIRE
      RETIRE - Refers to only the Retired Elements.
    • ACTIVE

      public static final APIConstants.Status ACTIVE
      ACTIVE - Refers to only the Active Elements.
    • PASSIVE

      public static final APIConstants.Status PASSIVE
      PASSIVE - Refers to only Passive Elements
  • Method Details

    • values

      public static APIConstants.Status[] 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 APIConstants.Status 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
    • getStatus

      public static APIConstants.Status getStatus(String value)
      Parameters:
      value -
      Returns: