Enum Class KeyValue.DisplayPolicy

java.lang.Object
java.lang.Enum<KeyValue.DisplayPolicy>
com.ads.api.beans.kv.KeyValue.DisplayPolicy
All Implemented Interfaces:
Serializable, Comparable<KeyValue.DisplayPolicy>, Constable
Enclosing class:
KeyValue

public static enum KeyValue.DisplayPolicy extends Enum<KeyValue.DisplayPolicy>
  • Enum Constant Details

  • Method Details

    • values

      public static KeyValue.DisplayPolicy[] 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 KeyValue.DisplayPolicy 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
    • add

      public void add(String name)
    • parse

      public static int parse(String name)
    • getDisplayPolicy

      public static KeyValue.DisplayPolicy getDisplayPolicy(int displayValue)
    • toInt

      public int toInt()