Class DocumentIngestStatusSet


  • public class DocumentIngestStatusSet
    extends java.lang.Object
    This object contains statuses for the primary document and all component documents.
    • Constructor Detail

      • DocumentIngestStatusSet

        public DocumentIngestStatusSet()
        Constructor
    • Method Detail

      • addDocumentStatus

        public void addDocumentStatus​(java.lang.String componentHash,
                                      DocumentIngestStatus status)
        Add document status.
        Parameters:
        componentHash - is the component identifier hash, or null.
        status - is the document ingest status.
      • getPrimary

        public DocumentIngestStatus getPrimary()
        Get primary status.
        Returns:
        the primary status.
      • getComponent

        public DocumentIngestStatus getComponent​(java.lang.String componentHash)
        Get component status.
        Parameters:
        componentHash - is the component identifier hash, or null.
        Returns:
        the component status.
      • componentIterator

        public java.util.Iterator<java.lang.String> componentIterator()
        Iterate over components.
        Returns:
        an iterator over component hashes.