Enum Class AttributeAccess.AccessType

java.lang.Object
java.lang.Enum<AttributeAccess.AccessType>
org.jboss.as.controller.registry.AttributeAccess.AccessType
All Implemented Interfaces:
Serializable, Comparable<AttributeAccess.AccessType>, Constable
Enclosing class:
AttributeAccess

public static enum AttributeAccess.AccessType extends Enum<AttributeAccess.AccessType>
Indicates how an attributed is accessed.
  • Enum Constant Details

    • READ_ONLY

      public static final AttributeAccess.AccessType READ_ONLY
      A read-only attribute, which can be either Storage.CONFIGURATION or Storage.RUNTIME
    • READ_WRITE

      public static final AttributeAccess.AccessType READ_WRITE
      A read-write attribute, which can be either Storage.CONFIGURATION or Storage.RUNTIME
    • METRIC

      public static final AttributeAccess.AccessType METRIC
      A read-only Storage.RUNTIME attribute
  • Method Details

    • values

      public static AttributeAccess.AccessType[] 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 AttributeAccess.AccessType 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<AttributeAccess.AccessType>
    • forName

      public static AttributeAccess.AccessType forName(String localName)
    • isWritable

      public boolean isWritable()