Class WorkerThread.DocumentToProcess

  • Enclosing class:
    WorkerThread

    protected static class WorkerThread.DocumentToProcess
    extends java.lang.Object
    Class that represents a decision to process a document.
    • Field Detail

      • scanOnly

        protected boolean scanOnly
    • Constructor Detail

      • DocumentToProcess

        public DocumentToProcess​(QueuedDocument document,
                                 boolean scanOnly)
        Construct.
        Parameters:
        document - is the document to process.
        scanOnly - is true if the document should be scanned, but not ingested.
    • Method Detail

      • getDocument

        public QueuedDocument getDocument()
        Get the document.
        Returns:
        the document.
      • getScanOnly

        public boolean getScanOnly()
        Get the 'scan only' flag.
        Returns:
        true if only scan should be attempted.