Interface ProgressNotifier

    • 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 completed
        currentPhaseSummary - localized summary message for the current installation progress in formatted form
        newLogDetail - new log messages in formatted form