|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cisco.provisioning.cpe.events.FileAdapter
public abstract class FileAdapter
An abstract class that provides no-op definitions of all methods
in the FileListener interface.
Users must extend this class, and then implement the methods
for the desired FileEvent
sub-event notifications.
| Field Summary |
|---|
| Fields inherited from interface com.cisco.provisioning.cpe.events.FileListener |
|---|
ADD_FILE, CHANGED_PROPERTIES, DELETE_FILE, REPLACE_FILE |
| Constructor Summary | |
|---|---|
FileAdapter()
|
|
| Method Summary | |
|---|---|
void |
added(FileEvent ev)
The method invoked when an FileEvent
arrives when a new file is created. |
void |
deleted(FileEvent ev)
The method invoked when an FileEvent
arrives when a file is deleted. |
boolean |
getOneShot()
Gets oneShot mode value, specifying whether or not the listener is registered for just one occurrence of the Event. |
void |
propertiesChanged(FileEvent ev)
The method invoked when an FileEvent
arrives when a file is changeproperties. |
void |
replaced(FileEvent ev)
The method invoked when an FileEvent
arrives when a file is replaced. |
void |
setOneShot(boolean flg)
Sets oneShot mode, specifying that the registration request is for just one occurrence of the Event. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileAdapter()
| Method Detail |
|---|
public void added(FileEvent ev)
FileEvent
arrives when a new file is created.
added in interface FileListenerev - The object containing the
FileEvent data.public void replaced(FileEvent ev)
FileEvent
arrives when a file is replaced.
replaced in interface FileListenerev - The object containing the
FileEvent data.public void deleted(FileEvent ev)
FileEvent
arrives when a file is deleted.
deleted in interface FileListenerev - The object containing the
FileEvent data.public void propertiesChanged(FileEvent ev)
FileEvent
arrives when a file is changeproperties.
propertiesChanged in interface FileListenerev - The object containing the
FileEvent data.public boolean getOneShot()
getOneShot in interface ProvAPIEventListenerpublic void setOneShot(boolean flg)
setOneShot in interface ProvAPIEventListenerflg - true if oneShot mode is being set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||