public interface UninstallerListener
Implementations of this class are used to handle customizing uninstallation. The defined methods are called from the destroyer at different, well defined points of uninstallation.
| Modifier and Type | Field and Description |
|---|---|
static int |
AFTER_DELETE |
static int |
AFTER_DELETION |
static int |
BEFORE_DELETE |
static int |
BEFORE_DELETION |
| Modifier and Type | Method and Description |
|---|---|
void |
afterDelete(java.io.File file,
AbstractUIProgressHandler handler)
This method will be called from the destroyer after the given file was deleted.
|
void |
afterDeletion(java.util.List files,
AbstractUIProgressHandler handler)
This method will be called from the destroyer after the given files are deleted.
|
void |
beforeDelete(java.io.File file,
AbstractUIProgressHandler handler)
This method will be called from the destroyer before the given file will be deleted.
|
void |
beforeDeletion(java.util.List files,
AbstractUIProgressHandler handler)
This method will be called from the destroyer before the given files will be deleted.
|
boolean |
isFileListener()
Returns true if this listener would be informed at every delete operation, else false.
|
static final int BEFORE_DELETION
static final int AFTER_DELETION
static final int BEFORE_DELETE
static final int AFTER_DELETE
void beforeDeletion(java.util.List files,
AbstractUIProgressHandler handler)
throws java.lang.Exception
files - all files which should be deletedhandler - a handler to the current used UIProgressHandlerjava.lang.Exceptionboolean isFileListener()
void beforeDelete(java.io.File file,
AbstractUIProgressHandler handler)
throws java.lang.Exception
file - file which should be deletedhandler - a handler to the current used UIProgressHandlerjava.lang.Exceptionvoid afterDelete(java.io.File file,
AbstractUIProgressHandler handler)
throws java.lang.Exception
file - file which was just deletedhandler - a handler to the current used UIProgressHandlerjava.lang.Exceptionvoid afterDeletion(java.util.List files,
AbstractUIProgressHandler handler)
throws java.lang.Exception
files - all files which where deletedhandler - a handler to the current used UIProgressHandlerjava.lang.Exception