public class AntActionInstallerListener extends AbstractProgressInstallerListener
| Modifier and Type | Field and Description |
|---|---|
static String |
SPEC_FILE_NAME
Name of the specification file.
|
| Constructor and Description |
|---|
AntActionInstallerListener(VariableSubstitutor replacer,
Resources resources,
InstallData installData,
UninstallData uninstallData,
ProgressNotifiers notifiers)
Constructs an AntActionInstallerListener.
|
| Modifier and Type | Method and Description |
|---|---|
void |
afterPack(Pack pack)
Invoked after a pack is installed.
|
void |
afterPacks(List<Pack> packs,
ProgressListener listener)
Invoked after packs are installed.
|
void |
beforePack(Pack pack)
Invoked before a pack is installed.
|
void |
beforePacks(List<Pack> packs)
Invoked before packs are installed.
|
getInstallData, getMessage, getProgressNotifierId, getProgressNotifiers, notifyProgress, setProgressNotifierafterDir, afterFile, beforeDir, beforeFile, beforePacks, initialise, isFileListenerpublic static final String SPEC_FILE_NAME
public AntActionInstallerListener(VariableSubstitutor replacer, Resources resources, InstallData installData, UninstallData uninstallData, ProgressNotifiers notifiers)
replacer - the variable substituterresources - the resourcesinstallData - the installation datauninstallData - the uninstallation datanotifiers - the progress notifierspublic void beforePacks(List<Pack> packs) throws InstallerException
beforePacks in interface InstallerListenerbeforePacks in class AbstractInstallerListenerpacks - the packs to be installedIzPackException - for any errorInstallerExceptionpublic void beforePack(Pack pack) throws InstallerException
beforePack in interface InstallerListenerbeforePack in class AbstractInstallerListenerpack - the packIzPackException - for any errorInstallerExceptionpublic void afterPack(Pack pack) throws InstallerException
afterPack in interface InstallerListenerafterPack in class AbstractInstallerListenerpack - the packIzPackException - for any errorInstallerExceptionpublic void afterPacks(List<Pack> packs, ProgressListener listener) throws InstallerException
afterPacks in interface InstallerListenerafterPacks in class AbstractInstallerListenerpacks - the installed packslistener - the progress listenerIzPackException - for any errorInstallerExceptionCopyright © 2001–2025. All rights reserved.