Package org.jboss.as.controller.registry
Enum Class 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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAn attribute whose value is stored in the persistent configuration.An attribute whose value is only stored in runtime services, and isn't stored in the persistent configuration. -
Method Summary
Modifier and TypeMethodDescriptionbooleantest(AttributeAccess attribute) toString()static AttributeAccess.StorageReturns the enum constant of this class with the specified name.static AttributeAccess.Storage[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CONFIGURATION
An attribute whose value is stored in the persistent configuration. The value may also be stored in runtime services. -
RUNTIME
An attribute whose value is only stored in runtime services, and isn't stored in the persistent configuration.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<AttributeAccess.Storage>
-
test
- Specified by:
testin interfacePredicate<AttributeAccess>
-