Package com.sun.identity.policy
Class PolicyEvent
java.lang.Object
com.sun.identity.policy.PolicyEvent
Deprecated.
Class to represent policy change events, used by policy framework to
notify interested listeners
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDeprecated.constant to indicate change type policy addedstatic final intDeprecated.constant to indicate change type policy modifiedstatic final intDeprecated.constant to indicate change type policy removed -
Method Summary
Modifier and TypeMethodDescriptionintDeprecated.Gets the change type The change type gives the type of policy change that triggered this event indicating whether a policy was added, modified or removed.Deprecated.Gets the resource names affected by the policy change.
-
Field Details
-
POLICY_ADDED
public static final int POLICY_ADDEDDeprecated.constant to indicate change type policy added- See Also:
-
POLICY_MODIFIED
public static final int POLICY_MODIFIEDDeprecated.constant to indicate change type policy modified- See Also:
-
POLICY_REMOVED
public static final int POLICY_REMOVEDDeprecated.constant to indicate change type policy removed- See Also:
-
-
Method Details
-
getResourceNames
Deprecated.Gets the resource names affected by the policy change. This indicates that policy decisions for the affected resource names would likely be different from those computed before the change.- Returns:
- names of the resources affected by the policy change.
-
getChangeType
public int getChangeType()Deprecated.Gets the change type The change type gives the type of policy change that triggered this event indicating whether a policy was added, modified or removed. This change type does not indicate whether resource(s) were added, modified or removed.- Returns:
- change type
-
com.sun.identity.entitlementinstead asEntitlementhas replacedPolicy.