Class ReportDispatcher

    • Constructor Detail

      • ReportDispatcher

        public ReportDispatcher​(java.lang.Object pOwner)
    • Method Detail

      • clear

        public void clear()
      • getOwner

        public java.lang.Object getOwner()
      • isEmpty

        public boolean isEmpty()
      • reportActivityEnd

        public void reportActivityEnd()
        Description copied from interface: IReporter
        Indicate the end of an activity.
        Specified by:
        reportActivityEnd in interface IReporter
      • reportActivityStart

        public void reportActivityStart​(java.lang.String message,
                                        int style)
        Description copied from interface: IReporter
        Indicate the beginning of an activity, possibly blocking system interaction.
        Specified by:
        reportActivityStart in interface IReporter
        Parameters:
        message - A label for reporting the activity.
      • reportError

        public void reportError​(java.lang.String title,
                                java.lang.String message,
                                java.lang.Throwable t,
                                int style)
        Description copied from interface: IReporter
        Indicate an error condition. This method will return normally after a possible user interaction, any error handling is still up to the caller.
        Specified by:
        reportError in interface IReporter
      • reportMessage

        public void reportMessage​(java.lang.String title,
                                  java.lang.String message,
                                  int style)
        Description copied from interface: IReporter
        Report a message to the user. The message should be displayed in a blocking way in an interactive system.
        Specified by:
        reportMessage in interface IReporter
      • reportProgress

        public void reportProgress​(java.lang.String message,
                                   int percent,
                                   int style)
        Description copied from interface: IReporter
        Indicate the progress of an ongoing activity. The activity will probably run concurrently.
        Specified by:
        reportProgress in interface IReporter
      • reportStatus

        public void reportStatus​(java.lang.String message,
                                 int style)
        Description copied from interface: IReporter
        Report a simple state information. This should not block the system in any way.
        Specified by:
        reportStatus in interface IReporter