Class AbstractDocumentProcessor

  • All Implemented Interfaces:
    Runnable

    public abstract class AbstractDocumentProcessor
    extends Task
    A base implementation for those tasks that process documents
    Since:
    8.8.3
    Author:
    Marco Meschieri - LogicalDOC
    • Constructor Detail

      • AbstractDocumentProcessor

        public AbstractDocumentProcessor​(String name)
    • Method Detail

      • isIndeterminate

        public boolean isIndeterminate()
        Description copied from class: Task
        Concrete implementations must override this method declaring if the task is indeterminate. An indeterminate task is not able to compute it's time length
        Specified by:
        isIndeterminate in class Task
        Returns:
        true if the task is indeterminate
      • isConcurrent

        public boolean isConcurrent()
        Description copied from class: Task
        Concrete implementations must override this method declaring if the task supports multiple instances running concurrently.
        Specified by:
        isConcurrent in class Task
        Returns:
        true if the task is concurrent
      • setDocumentDao

        public void setDocumentDao​(DocumentDAO documentDao)