com.sun.identity.policy
Class PolicyEvent
java.lang.Object
|
+--com.sun.identity.policy.PolicyEvent
- public class PolicyEvent
- extends java.lang.Object
Class to represent policy change events, used by policy framework to
notify interested listeners
- See Also:
PolicyListener
Field Summary |
static int |
POLICY_ADDED
constant to indicate change type policy added |
static int |
POLICY_MODIFIED
constant to indicate change type policy modified |
static int |
POLICY_REMOVED
constant to indicate change type policy removed |
Method Summary |
int |
getChangeType()
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. |
java.util.Set |
getResourceNames()
Gets the resource names affected by the policy change. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POLICY_ADDED
public static final int POLICY_ADDED
- constant to indicate change type policy added
POLICY_MODIFIED
public static final int POLICY_MODIFIED
- constant to indicate change type policy modified
POLICY_REMOVED
public static final int POLICY_REMOVED
- constant to indicate change type policy removed
getResourceNames
public java.util.Set getResourceNames()
- 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()
- 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
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.