Class DocumentProcessor.Progress

java.lang.Object
com.yahoo.docproc.DocumentProcessor.Progress
Direct Known Subclasses:
DocumentProcessor.LaterProgress
Enclosing class:
DocumentProcessor

public static class DocumentProcessor.Progress extends Object
An enumeration of possible results of calling a process method
  • Field Details

    • DONE

      public static final DocumentProcessor.Progress DONE
      Returned by a processor when it is done with a processing
    • LATER

      public static final DocumentProcessor.Progress LATER
      Returned by a processor when it should be called again later for the same processing
    • FAILED

      public static final DocumentProcessor.Progress FAILED
      Returned by a processor when a processing has failed and it should not be called again for this processing.
    • PERMANENT_FAILURE

      public static final DocumentProcessor.Progress PERMANENT_FAILURE
      Returned by a processor when processing has permanently failed, so that the document processing service should disable itself until reconfigured or restarted.
  • Constructor Details

    • Progress

      protected Progress(String name)
    • Progress

      protected Progress(String name, String reason)
  • Method Details