|
|||||||||
| 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.DeviceTypeEventQualifier
public class DeviceTypeEventQualifier
This implementation of the Qualifier class is
to be used with the DeviceTypeEvent.
| Constructor Summary | |
|---|---|
DeviceTypeEventQualifier()
This constructor is needed for externalization Note: This constructor is ONLY used for externalization. |
|
| Method Summary | |
|---|---|
void |
clearAll()
Clears all qualification 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 |
setDeletedDeviceType()
Sets the qualifies method to return true to all DeviceTypeEvents that are
DeviceTypeListener#DELETED_DEVICE_TYPE sub-events. |
void |
setDeviceTypePropsChanged()
Sets the qualifies method to return true to all DeviceTypeEvents that are
DeviceTypeListener#DEVICE_TYPE_PROPS_CHANGE sub-events. |
void |
setNewDeviceType()
Sets the qualifies method to return true to all DeviceTypeEvents that are
DeviceTypeListener#NEW_DEVICE_TYPE 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 DeviceTypeEventQualifier()
Note: This constructor is ONLY used for externalization.
| Method Detail |
|---|
public void clearAll()
public boolean qualifies(ProvAPIEvent event)
qualifies in class Qualifierevent - the object representing the event has occurred.
public void setNewDeviceType()
DeviceTypeEvents that are
DeviceTypeListener#NEW_DEVICE_TYPE sub-events.
public void setDeletedDeviceType()
DeviceTypeEvents that are
DeviceTypeListener#DELETED_DEVICE_TYPE sub-events.
public void setDeviceTypePropsChanged()
DeviceTypeEvents that are
DeviceTypeListener#DEVICE_TYPE_PROPS_CHANGE sub-events.
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 | ||||||||