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(File file,
AbstractUIProgressHandler handler)
This method will be called from the destroyer after the given file was deleted.
|
void |
afterDeletion(List files,
AbstractUIProgressHandler handler)
This method will be called from the destroyer after the given files are deleted.
|
void |
beforeDelete(File file,
AbstractUIProgressHandler handler)
This method will be called from the destroyer before the given file will be deleted.
|
void |
beforeDeletion(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(List files, AbstractUIProgressHandler handler) throws Exception
files
- all files which should be deletedhandler
- a handler to the current used UIProgressHandlerException
boolean isFileListener()
void beforeDelete(File file, AbstractUIProgressHandler handler) throws Exception
file
- file which should be deletedhandler
- a handler to the current used UIProgressHandlerException
void afterDelete(File file, AbstractUIProgressHandler handler) throws Exception
file
- file which was just deletedhandler
- a handler to the current used UIProgressHandlerException
void afterDeletion(List files, AbstractUIProgressHandler handler) throws Exception
files
- all files which where deletedhandler
- a handler to the current used UIProgressHandlerException
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses