java.lang.Object
java.lang.Enum<Rule.Policy>
org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.placement.schema.Rule.Policy
All Implemented Interfaces:
Serializable, Comparable<Rule.Policy>, Constable
Enclosing class:
Rule

@Generated("jsonschema2pojo") public static enum Rule.Policy extends Enum<Rule.Policy>
  • Enum Constant Details

    • SPECIFIED

      public static final Rule.Policy SPECIFIED
    • REJECT

      public static final Rule.Policy REJECT
    • DEFAULT_QUEUE

      public static final Rule.Policy DEFAULT_QUEUE
    • USER

      public static final Rule.Policy USER
    • PRIMARY_GROUP

      public static final Rule.Policy PRIMARY_GROUP
    • SECONDARY_GROUP

      public static final Rule.Policy SECONDARY_GROUP
    • PRIMARY_GROUP_USER

      public static final Rule.Policy PRIMARY_GROUP_USER
    • SECONDARY_GROUP_USER

      public static final Rule.Policy SECONDARY_GROUP_USER
    • APPLICATION_NAME

      public static final Rule.Policy APPLICATION_NAME
    • SET_DEFAULT_QUEUE

      public static final Rule.Policy SET_DEFAULT_QUEUE
    • CUSTOM

      public static final Rule.Policy CUSTOM
  • Method Details

    • values

      public static Rule.Policy[] 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 Rule.Policy 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()
      Overrides:
      toString in class Enum<Rule.Policy>
    • value

      public String value()
    • fromValue

      public static Rule.Policy fromValue(String value)