Interface GollumCallbackGetProgressStatus

  • All Implemented Interfaces:

    
    public interface GollumCallbackGetProgressStatus
    
                        

    Interface for callback system

    When a task is too long for main thread, it is executed in background and this Callback is called in the main thread when it is terminated

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract void done(String title, String message, int progress, int total, GollumException e) Method called when a task is terminated
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • done

         abstract void done(String title, String message, int progress, int total, GollumException e)

        Method called when a task is terminated

        Parameters:
        title - Title to display in progress bar.
        message - Message to display in progress bar.
        progress - Value of progress, called total time.
        total - Total number of times the callback will be called to complete.
        e - An optional exception passed by the callback.