public abstract class AbstractProgressInstallerListener extends AbstractInstallerListener
InstallerListener that may notify ProgressListeners.| Constructor and Description |
|---|
AbstractProgressInstallerListener(InstallData installData)
Constructs an
AbstractProgressInstallerListener. |
AbstractProgressInstallerListener(InstallData installData,
ProgressNotifiers notifiers)
Constructs an
AbstractProgressInstallerListener. |
| Modifier and Type | Method and Description |
|---|---|
protected InstallData |
getInstallData()
Returns the installation data.
|
protected String |
getMessage(String id)
Helper to return a localised message, given its identifier.
|
protected int |
getProgressNotifierId()
Returns the progress notifier id of this listener.
|
protected ProgressNotifiers |
getProgressNotifiers()
Returns the progress notifiers.
|
protected boolean |
notifyProgress()
Determines if listeners should notify a
ProgressListener. |
protected void |
setProgressNotifier()
Register this listener as a progress notifier.
|
afterDir, afterFile, afterPack, afterPacks, beforeDir, beforeFile, beforePack, beforePacks, beforePacks, initialise, isFileListenerpublic AbstractProgressInstallerListener(InstallData installData)
AbstractProgressInstallerListener.installData - the installation datapublic AbstractProgressInstallerListener(InstallData installData, ProgressNotifiers notifiers)
AbstractProgressInstallerListener.installData - the installation datanotifiers - the progress notifiers. May be nullprotected boolean notifyProgress()
ProgressListener.true if the ProgressListener should be notifiedprotected int getProgressNotifierId()
0 if this is not registeredprotected void setProgressNotifier()
protected ProgressNotifiers getProgressNotifiers()
null if none was supplied at constructionprotected InstallData getInstallData()
Copyright © 2001–2025. All rights reserved.