Interface AsyncClientTask

    • Method Detail

      • getTaskTitle

        java.lang.String getTaskTitle()
        A helpful title describing the operation for the user.
      • canCancel

        boolean canCancel()
        Whether or not the user is allowed to cancel the operation.
      • run

        void run​(TaskProgressListener progressListener)
          throws java.lang.Exception
        The "work" function. Should update the progressListener of status, and check whether the operation has been canceled, if applicable. Should throw an exception on failure.
        Throws:
        java.lang.Exception