|
AdventNet Web NMS 4 API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.util.EventObject
|
+--com.adventnet.management.policydb.PolicyEvent
A semantic event which indicates that a policy-defined action occured.
All PolicyEvent's are constructed with reference to an object, the "source" that is logically deemed to be the object upon which the event in question initialy occurred upon.
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
PolicyEvent(java.lang.Object source)
Constructs a prototypical event. |
|
| Method Summary | |
void |
addPolicyGroupsToTrigger(java.lang.String s)
Adds a policy group to the list of policy groups to be triggered |
void |
addPolicyNamesToTrigger(java.lang.String s)
Adds a policy to the list of policies to be triggered |
java.lang.Object |
getAdditionalInfo()
Gets the additional information needed. |
java.util.Vector |
getPolicyGroupsToTrigger()
Returns the groups of the policies that are to be triggered |
java.util.Vector |
getPolicyNamesToTrigger()
Returns names of the policies that are to be triggered |
java.lang.Object |
getTarget()
Returns the target on which the action should be taken. |
void |
setAdditionalInfo(java.lang.Object obj)
sets the additional information needed. |
void |
setPolicyGroupsToTrigger(java.util.Vector vec)
Sets the groups of the policies that are to be triggered |
void |
setPolicyNamesToTrigger(java.util.Vector vec)
Sets policies that are to be triggered |
void |
setTarget(java.lang.Object obj)
Sets the target on which the action should be taken. |
| Methods inherited from class java.util.EventObject |
getSource, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PolicyEvent(java.lang.Object source)
source - the object on which the Event initally occurred.| Method Detail |
public java.lang.Object getTarget()
public void setTarget(java.lang.Object obj)
Obj - the targetpublic java.lang.Object getAdditionalInfo()
public void setAdditionalInfo(java.lang.Object obj)
Obj - Object that contains the informationpublic java.util.Vector getPolicyNamesToTrigger()
public void setPolicyNamesToTrigger(java.util.Vector vec)
vec - Vector containing the policy namespublic void addPolicyNamesToTrigger(java.lang.String s)
s - the policy name to be added.public java.util.Vector getPolicyGroupsToTrigger()
public void setPolicyGroupsToTrigger(java.util.Vector vec)
vec - Vector containing the policy group namespublic void addPolicyGroupsToTrigger(java.lang.String s)
s - the policy group name to be added.
|
AdventNet Web NMS 4 API Specification | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||