Interface GollumCallbackGetGeneric

  • All Implemented Interfaces:

    
    public interface GollumCallbackGetGeneric<T>
    
                        

    Interface for callback system

    This Interface is generic

    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(@Nullable() T value, @Nullable() 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(@Nullable() T value, @Nullable() GollumException e)

        Method called when a task is terminated

        Parameters:
        value - : return of operation
        e - : null if no error