|
|||||||||
| 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.DeviceEventQualifier
public class DeviceEventQualifier
This implementation of the Qualifier class is to
be used with the DeviceEvent.
| Constructor Summary | |
|---|---|
DeviceEventQualifier()
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. |
String |
getDeviceID()
Returns the device ID that is currently set for this qualifier. |
DeviceType |
getDeviceType()
Returns the device type that is currently set for this qualifier. |
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 |
setChangedCOS()
Sets the qualifies method to return true to all DeviceEvents that are
DeviceListener.CHANGED_COS
sub-events. |
void |
setChangedDHCPCriteria()
Sets the qualifies method to return true to all DeviceEvents that are
DeviceListener.CHANGED_DHCP_CRITERIA
sub-events. |
void |
setDeletedDevice()
Sets the qualifies method to return true to all DeviceEvents that are
DeviceListener.DELETED_DEVICE
sub-events. |
void |
setDeletedDeviceId()
Sets the qualifies method to return true to all DeviceEvents that are
DeviceListener.DELETED_DEVICE_ID
sub-events. |
void |
setDeletedVoiceService()
Sets the qualifies method to return true to all DeviceEvents that are
DeviceListener.DELETED_VOICE_SERVICE
sub-events. |
void |
setDeviceID(String deviceID)
Sets the qualifies method to return true to the DeviceEvents related to the device specified. |
void |
setDeviceType(DeviceType deviceType)
Sets the qualifies method to return true to the DeviceEvents related to the device type specified. |
void |
setNewDevice()
Sets the qualifies method to return true to all DeviceEvents that are
DeviceListener.NEW_PROV_DEVICE
and
DeviceListener.NEW_UNPROV_DEVICE sub-events. |
void |
setNewProvDevice()
Sets the qualifies method to return true to all DeviceEvents that are
DeviceListener.NEW_PROV_DEVICE
sub-events. |
void |
setNewUnprovDevice()
Sets the qualifies method to return true to all DeviceEvents that are
DeviceListener.NEW_UNPROV_DEVICE
sub-events. |
void |
setNewVoiceService()
Sets the qualifies method to return true to all DeviceEvents that are
DeviceListener.NEW_VOICE_SERVICE
sub-events. |
void |
setReceivedStatus()
Sets the qualifies method to return true to all DeviceEvents that are
DeviceListener.RECEIVED_STATUS
sub-events. |
void |
setRoamingDevice()
Sets the qualifies method to return true to all DeviceEvents that are
DeviceListener.ROAMING_DEVICE
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 DeviceEventQualifier()
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 setDeviceID(String deviceID)
DeviceEvents related to the device specified.
public String getDeviceID()
public void setDeviceType(DeviceType deviceType)
DeviceEvents related to the device type specified.
public DeviceType getDeviceType()
public void setNewDevice()
DeviceEvents that are
DeviceListener.NEW_PROV_DEVICE
and
DeviceListener.NEW_UNPROV_DEVICE sub-events.
This corresponds to addition of new devices (both registered
and unregistered).
public void setNewProvDevice()
DeviceEvents that are
DeviceListener.NEW_PROV_DEVICE
sub-events.
public void setNewUnprovDevice()
DeviceEvents that are
DeviceListener.NEW_UNPROV_DEVICE
sub-events.
public void setDeletedDevice()
DeviceEvents that are
DeviceListener.DELETED_DEVICE
sub-events.
public void setRoamingDevice()
DeviceEvents that are
DeviceListener.ROAMING_DEVICE
sub-events.
public void setNewVoiceService()
DeviceEvents that are
DeviceListener.NEW_VOICE_SERVICE
sub-events.
public void setDeletedVoiceService()
DeviceEvents that are
DeviceListener.DELETED_VOICE_SERVICE
sub-events.
public void setChangedCOS()
DeviceEvents that are
DeviceListener.CHANGED_COS
sub-events.
public void setReceivedStatus()
DeviceEvents that are
DeviceListener.RECEIVED_STATUS
sub-events.
public void setChangedDHCPCriteria()
DeviceEvents that are
DeviceListener.CHANGED_DHCP_CRITERIA
sub-events.
public void setDeletedDeviceId()
DeviceEvents that are
DeviceListener.DELETED_DEVICE_ID
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 | ||||||||