Class DocumentProcessor.Progress

    • Field Detail

      • 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 Detail

      • Progress

        protected Progress​(java.lang.String name)
      • Progress

        protected Progress​(java.lang.String name,
                           java.lang.String reason)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getReason

        public java.util.Optional<java.lang.String> getReason()
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object