Package com.sun.identity.entitlement
Enum PolicyEventType
- java.lang.Object
-
- java.lang.Enum<PolicyEventType>
-
- com.sun.identity.entitlement.PolicyEventType
-
- All Implemented Interfaces:
Serializable
,Comparable<PolicyEventType>
public enum PolicyEventType extends Enum<PolicyEventType>
Defines the types of policy events.- Since:
- 14.0.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PolicyEventType
valueOf(String name)
Returns the enum constant of this type with the specified name.static PolicyEventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE
public static final PolicyEventType CREATE
When a policy is created.
-
DELETE
public static final PolicyEventType DELETE
When a policy is deleted.
-
UPDATE
public static final PolicyEventType UPDATE
When a policy is updated.
-
-
Method Detail
-
values
public static PolicyEventType[] 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 (PolicyEventType c : PolicyEventType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PolicyEventType 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
-
-