Enum Class Attribute

java.lang.Object
java.lang.Enum<Attribute>
org.jboss.as.threads.Attribute
All Implemented Interfaces:
Serializable, Comparable<Attribute>, Constable

public enum Attribute extends Enum<Attribute>
Author:
David M. Lloyd
  • Enum Constant Details

    • UNKNOWN

      public static final Attribute UNKNOWN
    • ALLOW_CORE_TIMEOUT

      public static final Attribute ALLOW_CORE_TIMEOUT
    • BLOCKING

      public static final Attribute BLOCKING
    • CORE_THREADS

      public static final Attribute CORE_THREADS
    • COUNT

      public static final Attribute COUNT
    • GROUP_NAME

      public static final Attribute GROUP_NAME
    • MAX_THREADS

      public static final Attribute MAX_THREADS
    • NAME

      public static final Attribute NAME
    • PER_CPU

      public static final Attribute PER_CPU
    • PRIORITY

      public static final Attribute PRIORITY
    • QUEUE_LENGTH

      public static final Attribute QUEUE_LENGTH
    • THREAD_NAME_PATTERN

      public static final Attribute THREAD_NAME_PATTERN
    • TIME

      public static final Attribute TIME
    • UNIT

      public static final Attribute UNIT
    • VALUE

      public static final Attribute VALUE
  • Method Details

    • values

      public static Attribute[] 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 Attribute 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
    • getLocalName

      public String getLocalName()
      Get the local name of this attribute.
      Returns:
      the local name
    • forName

      public static Attribute forName(String localName)
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Attribute>