Enum Class AttributeAccess.Storage

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

public static enum AttributeAccess.Storage extends Enum<AttributeAccess.Storage> implements Predicate<AttributeAccess>
Indicates whether an attribute is derived from the persistent configuration or is a purely runtime attribute.
  • Enum Constant Details

    • CONFIGURATION

      public static final AttributeAccess.Storage CONFIGURATION
      An attribute whose value is stored in the persistent configuration. The value may also be stored in runtime services.
    • RUNTIME

      public static final AttributeAccess.Storage RUNTIME
      An attribute whose value is only stored in runtime services, and isn't stored in the persistent configuration.
  • Method Details

    • values

      public static AttributeAccess.Storage[] 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.Storage 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.Storage>
    • test

      public boolean test(AttributeAccess attribute)
      Specified by:
      test in interface Predicate<AttributeAccess>