com.izforge.izpack.event
Class AntActionUninstallerListener
java.lang.Object
com.izforge.izpack.event.SimpleUninstallerListener
com.izforge.izpack.event.AntActionUninstallerListener
- All Implemented Interfaces:
- UninstallerListener
public class AntActionUninstallerListener
- extends SimpleUninstallerListener
Uninstaller listener for performing ANT actions at uninstall time. The definition of what should
be done here will be made in a specification file that is referenced by the resource id
"AntActionsSpec.xml". There should be an entry in the install.xml file in the sub ELEMENT "res"
of ELEMENT "resources" that references it. The specification of the xml file is done in the DTD
antaction.dtd. The xml file may contain an ELEMENT "uninstall_target" that should be performed
for uninstalling purposes.
- Author:
- Klaus Bartz
Field Summary |
private java.util.List<AntAction> |
antActions
Ant actions to be performed after deletion |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
antActions
private java.util.List<AntAction> antActions
- Ant actions to be performed after deletion
AntActionUninstallerListener
public AntActionUninstallerListener()
- Default constructor
beforeDeletion
public void beforeDeletion(java.util.List files,
AbstractUIProgressHandler handler)
throws java.lang.Exception
- Description copied from interface:
UninstallerListener
- This method will be called from the destroyer before the given files will be deleted.
- Specified by:
beforeDeletion
in interface UninstallerListener
- Overrides:
beforeDeletion
in class SimpleUninstallerListener
- Parameters:
files
- all files which should be deletedhandler
- a handler to the current used UIProgressHandler
- Throws:
java.lang.Exception
afterDeletion
public void afterDeletion(java.util.List files,
AbstractUIProgressHandler handler)
throws java.lang.Exception
- Description copied from interface:
UninstallerListener
- This method will be called from the destroyer after the given files are deleted.
- Specified by:
afterDeletion
in interface UninstallerListener
- Overrides:
afterDeletion
in class SimpleUninstallerListener
- Parameters:
files
- all files which where deletedhandler
- a handler to the current used UIProgressHandler
- Throws:
java.lang.Exception