Package org.jboss.as.controller.registry
Enum AttributeAccess.Storage
- java.lang.Object
-
- java.lang.Enum<AttributeAccess.Storage>
-
- org.jboss.as.controller.registry.AttributeAccess.Storage
-
- All Implemented Interfaces:
Serializable
,Comparable<AttributeAccess.Storage>
,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 Summary
Enum Constants Enum Constant Description CONFIGURATION
An attribute whose value is stored in the persistent configuration.RUNTIME
An attribute whose value is only stored in runtime services, and isn't stored in the persistent configuration.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
test(AttributeAccess attribute)
String
toString()
static AttributeAccess.Storage
valueOf(String name)
Returns the enum constant of this type with the specified name.static AttributeAccess.Storage[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static AttributeAccess.Storage[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AttributeAccess.Storage c : AttributeAccess.Storage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AttributeAccess.Storage valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<AttributeAccess.Storage>
-
test
public boolean test(AttributeAccess attribute)
- Specified by:
test
in interfacePredicate<AttributeAccess>
-
-