Package org.opends.quicksetup.event
Interface ProgressNotifier
-
- All Known Subinterfaces:
CliApplication
- All Known Implementing Classes:
Application,GuiApplication,Installer,Uninstaller
public interface ProgressNotifierInteface for applications that advertise status to interested listeners.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddProgressUpdateListener(ProgressUpdateListener l)Adds a listener to the list of those that are notified about the progress state change of an application.voidnotifyListeners(Integer ratio, org.forgerock.i18n.LocalizableMessage currentPhaseSummary, org.forgerock.i18n.LocalizableMessage newLogDetail)Notifies all registered listeners about a change in progress state.voidremoveProgressUpdateListener(ProgressUpdateListener l)Removes a listener from this list of those that are notified about a progress state change.
-
-
-
Method Detail
-
addProgressUpdateListener
void addProgressUpdateListener(ProgressUpdateListener l)
Adds a listener to the list of those that are notified about the progress state change of an application.- Parameters:
l- ProgressUpdateListener
-
removeProgressUpdateListener
void removeProgressUpdateListener(ProgressUpdateListener l)
Removes a listener from this list of those that are notified about a progress state change.- Parameters:
l- ProgressUpdateListener
-
notifyListeners
void notifyListeners(Integer ratio, org.forgerock.i18n.LocalizableMessage currentPhaseSummary, org.forgerock.i18n.LocalizableMessage newLogDetail)
Notifies all registered listeners about a change in progress state.- Parameters:
ratio- Integer specifying the percentage of the whole process that has been completedcurrentPhaseSummary- localized summary message for the current installation progress in formatted formnewLogDetail- new log messages in formatted form
-
-