public class DocumentIngestStatusSet extends Object
Modifier and Type | Field and Description |
---|---|
static String |
_rcsid |
protected Map<String,DocumentIngestStatus> |
components |
protected DocumentIngestStatus |
primary |
Constructor and Description |
---|
DocumentIngestStatusSet()
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addDocumentStatus(String componentHash,
DocumentIngestStatus status)
Add document status.
|
Iterator<String> |
componentIterator()
Iterate over components.
|
DocumentIngestStatus |
getComponent(String componentHash)
Get component status.
|
DocumentIngestStatus |
getPrimary()
Get primary status.
|
public static final String _rcsid
protected DocumentIngestStatus primary
protected final Map<String,DocumentIngestStatus> components
public void addDocumentStatus(String componentHash, DocumentIngestStatus status)
componentHash
- is the component identifier hash, or null.status
- is the document ingest status.public DocumentIngestStatus getPrimary()
public DocumentIngestStatus getComponent(String componentHash)
componentHash
- is the component identifier hash, or null.