Enum Class DeSelectFields.DeSelectType

java.lang.Object
java.lang.Enum<DeSelectFields.DeSelectType>
org.apache.hadoop.yarn.server.resourcemanager.webapp.DeSelectFields.DeSelectType
All Implemented Interfaces:
Serializable, Comparable<DeSelectFields.DeSelectType>, Constable
Enclosing class:
DeSelectFields

public static enum DeSelectFields.DeSelectType extends Enum<DeSelectFields.DeSelectType>
Deselect field type, can be boosted in the future.
  • Enum Constant Details

  • Method Details

    • values

      public static DeSelectFields.DeSelectType[] 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 DeSelectFields.DeSelectType 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
    • toString

      public String toString()
      use literals as toString.
      Overrides:
      toString in class Enum<DeSelectFields.DeSelectType>
      Returns:
      the literals of this type.
    • obtainType

      public static DeSelectFields.DeSelectType obtainType(String literals)
      Obtain the DeSelectType by the literals given behind deSelects in URL.
      e.g: deSelects="resourceRequests"
      Parameters:
      literals - e.g: resourceRequests
      Returns:
      DeSelectType e.g: DeSelectType.RESOURCE_REQUESTS