|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cisco.provisioning.cpe.events.Qualifier
com.cisco.provisioning.cpe.events.NodeEventQualifier
public class NodeEventQualifier
This implementation of the Qualifier class is to be used with the
NodeEvent.
| Constructor Summary | |
|---|---|
NodeEventQualifier()
This constructor is needed for externalization |
|
| Method Summary | |
|---|---|
void |
clearAll()
Clears all options that have been set. |
boolean |
qualifies(ProvAPIEvent event)
Returns true if the implementation has determined that this event satisfies the requirements to notify the associated listener. |
void |
readExternal(ObjectInput in)
Externalizable interface. |
void |
setChangedNode()
Sets the qualifies method to return true to all NodeEvent that are CHANGED_NODE sub-events. |
void |
setDeletedNode()
Sets the qualifies method to return true to all NodeEvent that are DELETED_NODE sub-events. |
void |
setNewNode()
Sets the qualifies method to return true to all NodeEvent that are NEW_NODE sub-events. |
void |
setRelateToIPDevice()
Sets the qualifies method to return true to all NodeEvent that are RELATE_TO_IPDEVICE sub-events. |
void |
setRelateToNode()
Sets the qualifies method to return true to all NodeEvent that are RELATE_TO_NODE sub-events. |
void |
setUnrelateFromIPDevice()
Sets the qualifies method to return true to all NodeEvent that are UNRELATE_FROM_IPDEVICE sub-events. |
void |
setUnrelateFromNode()
Sets the qualifies method to return true to all NodeEvent that are UNRELATE_FROM_NODE sub-events. |
void |
writeExternal(ObjectOutput out)
Externalizable interface. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeEventQualifier()
| Method Detail |
|---|
public void clearAll()
public boolean qualifies(ProvAPIEvent event)
qualifies in class Qualifierevent - the object representing the event has occurred.
public void setNewNode()
NodeEvent that are NEW_NODE sub-events.
NodeListener.NEW_NODEpublic void setDeletedNode()
NodeEvent that are DELETED_NODE sub-events.
NodeListener.DELETED_NODEpublic void setChangedNode()
NodeEvent that are CHANGED_NODE sub-events.
NodeListener.CHANGED_NODEpublic void setRelateToNode()
NodeEvent that are RELATE_TO_NODE sub-events.
NodeListener.RELATE_TO_NODEpublic void setRelateToIPDevice()
NodeEvent that are RELATE_TO_IPDEVICE sub-events.
NodeListener.RELATE_TO_IPDEVICEpublic void setUnrelateFromNode()
NodeEvent that are UNRELATE_FROM_NODE sub-events.
NodeListener.UNRELATE_FROM_NODEpublic void setUnrelateFromIPDevice()
NodeEvent that are UNRELATE_FROM_IPDEVICE sub-events.
NodeListener.UNRELATE_FROM_IPDEVICE
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class Qualifierin - the stream to read data from in order to restore the object
IOException - if I/O errors occur
ClassNotFoundException - If the class for an object being
restored cannot be found.
public void writeExternal(ObjectOutput out)
throws IOException
writeExternal in interface ExternalizablewriteExternal in class Qualifierout - the stream to write the object to
IOException - Includes any I/O exceptions that may occur
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||