Package org.jboss.as.controller.registry
Enum AttributeAccess.AccessType
- java.lang.Object
-
- java.lang.Enum<AttributeAccess.AccessType>
-
- org.jboss.as.controller.registry.AttributeAccess.AccessType
-
- All Implemented Interfaces:
Serializable,Comparable<AttributeAccess.AccessType>
- Enclosing class:
- AttributeAccess
public static enum AttributeAccess.AccessType extends Enum<AttributeAccess.AccessType>
Indicates how an attributed is accessed.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description METRICA read-onlyStorage.RUNTIMEattributeREAD_ONLYA read-only attribute, which can be eitherStorage.CONFIGURATIONorStorage.RUNTIMEREAD_WRITEA read-write attribute, which can be eitherStorage.CONFIGURATIONorStorage.RUNTIME
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttributeAccess.AccessTypeforName(String localName)booleanisWritable()StringtoString()static AttributeAccess.AccessTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AttributeAccess.AccessType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READ_ONLY
public static final AttributeAccess.AccessType READ_ONLY
A read-only attribute, which can be eitherStorage.CONFIGURATIONorStorage.RUNTIME
-
READ_WRITE
public static final AttributeAccess.AccessType READ_WRITE
A read-write attribute, which can be eitherStorage.CONFIGURATIONorStorage.RUNTIME
-
METRIC
public static final AttributeAccess.AccessType METRIC
A read-onlyStorage.RUNTIMEattribute
-
-
Method Detail
-
values
public static AttributeAccess.AccessType[] 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.AccessType c : AttributeAccess.AccessType.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.AccessType 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:
toStringin classEnum<AttributeAccess.AccessType>
-
forName
public static AttributeAccess.AccessType forName(String localName)
-
isWritable
public boolean isWritable()
-
-