Enum GlobalPolicyUtil.PolicyType
- java.lang.Object
-
- java.lang.Enum<GlobalPolicyUtil.PolicyType>
-
- com.sun.enterprise.security.permissionsxml.GlobalPolicyUtil.PolicyType
-
- All Implemented Interfaces:
Serializable
,Comparable<GlobalPolicyUtil.PolicyType>
- Enclosing class:
- GlobalPolicyUtil
public static enum GlobalPolicyUtil.PolicyType extends Enum<GlobalPolicyUtil.PolicyType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EEGranted
Configured EE permissions in the domainEERestricted
Configured EE restriction list in the domainServerAllowed
Configured domain allowed list
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GlobalPolicyUtil.PolicyType
valueOf(String name)
Returns the enum constant of this type with the specified name.static GlobalPolicyUtil.PolicyType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EEGranted
public static final GlobalPolicyUtil.PolicyType EEGranted
Configured EE permissions in the domain
-
EERestricted
public static final GlobalPolicyUtil.PolicyType EERestricted
Configured EE restriction list in the domain
-
ServerAllowed
public static final GlobalPolicyUtil.PolicyType ServerAllowed
Configured domain allowed list
-
-
Method Detail
-
values
public static GlobalPolicyUtil.PolicyType[] 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 (GlobalPolicyUtil.PolicyType c : GlobalPolicyUtil.PolicyType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GlobalPolicyUtil.PolicyType 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
-
-