Enum AuthorizationPolicyMarshaller.ReadMode
- java.lang.Object
-
- java.lang.Enum<AuthorizationPolicyMarshaller.ReadMode>
-
- org.uberfire.backend.server.authz.AuthorizationPolicyMarshaller.ReadMode
-
- All Implemented Interfaces:
Serializable,Comparable<AuthorizationPolicyMarshaller.ReadMode>
- Enclosing class:
- AuthorizationPolicyMarshaller
public static enum AuthorizationPolicyMarshaller.ReadMode extends Enum<AuthorizationPolicyMarshaller.ReadMode>
Different ways to specify what are the target entries to read when calling theAuthorizationPolicyMarshaller.read(AuthorizationPolicyBuilder, String, String, ReadMode)method.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT_EXCLUDEDRead everything but the entries classified as "default"DEFAULT_ONLYRead only those entries classified as "default"EVERYTHINGRead everything
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthorizationPolicyMarshaller.ReadModevalueOf(String name)Returns the enum constant of this type with the specified name.static AuthorizationPolicyMarshaller.ReadMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT_ONLY
public static final AuthorizationPolicyMarshaller.ReadMode DEFAULT_ONLY
Read only those entries classified as "default"
-
DEFAULT_EXCLUDED
public static final AuthorizationPolicyMarshaller.ReadMode DEFAULT_EXCLUDED
Read everything but the entries classified as "default"
-
EVERYTHING
public static final AuthorizationPolicyMarshaller.ReadMode EVERYTHING
Read everything
-
-
Method Detail
-
values
public static AuthorizationPolicyMarshaller.ReadMode[] 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 (AuthorizationPolicyMarshaller.ReadMode c : AuthorizationPolicyMarshaller.ReadMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthorizationPolicyMarshaller.ReadMode 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
-
-