Package org.jboss.as.controller.access
Enum Action.ActionEffect
- java.lang.Object
-
- java.lang.Enum<Action.ActionEffect>
-
- org.jboss.as.controller.access.Action.ActionEffect
-
- All Implemented Interfaces:
Serializable
,Comparable<Action.ActionEffect>
- Enclosing class:
- Action
public static enum Action.ActionEffect extends Enum<Action.ActionEffect>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDRESS
"Address" a resource, thus confirming the address is valid.READ_CONFIG
Read the persistent configurationREAD_RUNTIME
Read runtime stateWRITE_CONFIG
Modify the persistent configurationWRITE_RUNTIME
Modify runtime state
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static Action.ActionEffect
valueOf(String name)
Returns the enum constant of this type with the specified name.static Action.ActionEffect[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADDRESS
public static final Action.ActionEffect ADDRESS
"Address" a resource, thus confirming the address is valid. All operations have this effect.
-
READ_CONFIG
public static final Action.ActionEffect READ_CONFIG
Read the persistent configuration
-
READ_RUNTIME
public static final Action.ActionEffect READ_RUNTIME
Read runtime state
-
WRITE_CONFIG
public static final Action.ActionEffect WRITE_CONFIG
Modify the persistent configuration
-
WRITE_RUNTIME
public static final Action.ActionEffect WRITE_RUNTIME
Modify runtime state
-
-
Method Detail
-
values
public static Action.ActionEffect[] 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 (Action.ActionEffect c : Action.ActionEffect.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Action.ActionEffect 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<Action.ActionEffect>
-
-