|
|||||||||
| 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.FileEventQualifier
public class FileEventQualifier
This implementation of the Qualifier class is to
be used with the FileEvent.
| Constructor Summary | |
|---|---|
FileEventQualifier()
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. |
void |
clearIsDeliverable()
Clears the isDeliverable check. |
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 |
setChangedProperties()
Sets the qualifier method to return true to all FileEvents that are
FileListener.CHANGED_PROPERTIES sub-events. |
void |
setDeletedFile()
Sets the qualifier method to return true to all FileEvents that are
FileListener.DELETE_FILE sub-events. |
void |
setIsDeliverable(boolean isDeliverable)
Sets the qualifer method to return all files that match the given isDeliverable value. |
void |
setNewFile()
Sets the qualifier method to return true to all FileEvents that are
FileListener.ADD_FILE
sub-events. |
void |
setReplaceFile()
Sets the qualifier method to return true to all FileEvents that are
FileListener.REPLACE_FILE 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 FileEventQualifier()
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 setNewFile()
FileEvents that are
FileListener.ADD_FILE
sub-events.
public void setDeletedFile()
FileEvents that are
FileListener.DELETE_FILE sub-events.
public void setReplaceFile()
FileEvents that are
FileListener.REPLACE_FILE sub-events.
public void setChangedProperties()
FileEvents that are
FileListener.CHANGED_PROPERTIES sub-events.
public void clearIsDeliverable()
public void setIsDeliverable(boolean isDeliverable)
isDeliverable - the value to filter FileEvents on.
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 | ||||||||