Class TagTransferHandler.ImportClientTagTask

  • All Implemented Interfaces:
    AsyncClientTask
    Enclosing class:
    TagTransferHandler

    public static class TagTransferHandler.ImportClientTagTask
    extends java.lang.Object
    implements AsyncClientTask
    Designed to import Vision client tags via XML text
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean canCancel()
      Whether or not the user is allowed to cancel the operation.
      java.lang.String getTaskTitle()
      A helpful title describing the operation for the user.
      void run​(TaskProgressListener progressListener)
      The "work" function.
      • Methods inherited from class java.lang.Object

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

      • getTaskTitle

        public java.lang.String getTaskTitle()
        Description copied from interface: AsyncClientTask
        A helpful title describing the operation for the user.
        Specified by:
        getTaskTitle in interface AsyncClientTask
      • canCancel

        public boolean canCancel()
        Description copied from interface: AsyncClientTask
        Whether or not the user is allowed to cancel the operation.
        Specified by:
        canCancel in interface AsyncClientTask
      • run

        public void run​(TaskProgressListener progressListener)
                 throws java.lang.Exception
        Description copied from interface: AsyncClientTask
        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.
        Specified by:
        run in interface AsyncClientTask
        Throws:
        java.lang.Exception