Enum ReadResourceDescriptionHandler.AccessControl
- java.lang.Object
-
- java.lang.Enum<ReadResourceDescriptionHandler.AccessControl>
-
- org.jboss.as.controller.operations.global.ReadResourceDescriptionHandler.AccessControl
-
- All Implemented Interfaces:
Serializable
,Comparable<ReadResourceDescriptionHandler.AccessControl>
- Enclosing class:
- ReadResourceDescriptionHandler
public static enum ReadResourceDescriptionHandler.AccessControl extends Enum<ReadResourceDescriptionHandler.AccessControl>
For use with the access-control parameter
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMBINED_DESCRIPTIONS
Access control information should be included alongside the resource descriptionsNONE
No access control information should be includedTRIM_DESCRIPTONS
Access control information should be inclueded alongside the minimal resource descriptions
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReadResourceDescriptionHandler.AccessControl
forName(String localName)
org.jboss.dmr.ModelNode
toModelNode()
String
toString()
static ReadResourceDescriptionHandler.AccessControl
valueOf(String name)
Returns the enum constant of this type with the specified name.static ReadResourceDescriptionHandler.AccessControl[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ReadResourceDescriptionHandler.AccessControl NONE
No access control information should be included
-
COMBINED_DESCRIPTIONS
public static final ReadResourceDescriptionHandler.AccessControl COMBINED_DESCRIPTIONS
Access control information should be included alongside the resource descriptions
-
TRIM_DESCRIPTONS
public static final ReadResourceDescriptionHandler.AccessControl TRIM_DESCRIPTONS
Access control information should be inclueded alongside the minimal resource descriptions
-
-
Method Detail
-
values
public static ReadResourceDescriptionHandler.AccessControl[] 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 (ReadResourceDescriptionHandler.AccessControl c : ReadResourceDescriptionHandler.AccessControl.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReadResourceDescriptionHandler.AccessControl 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
-
forName
public static ReadResourceDescriptionHandler.AccessControl forName(String localName)
-
toString
public String toString()
- Overrides:
toString
in classEnum<ReadResourceDescriptionHandler.AccessControl>
-
toModelNode
public org.jboss.dmr.ModelNode toModelNode()
-
-