Class StandardRepositoryStatusReport
java.lang.Object
org.apache.nifi.controller.repository.StandardRepositoryStatusReport
- All Implemented Interfaces:
RepositoryStatusReport
Encapsulates the status of the processor data transfers as stored in the repository.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddReportEntry(FlowFileEvent entry, String componentId) Adds an entry to the report.Returns a map where the key is the processor ID and the value is the status entry for the processor.getReportEntry(String componentId) Returns a particular entry for a given processor ID.toString()
-
Field Details
-
entries
-
-
Constructor Details
-
StandardRepositoryStatusReport
public StandardRepositoryStatusReport()
-
-
Method Details
-
getReportEntries
Returns a map where the key is the processor ID and the value is the status entry for the processor.- Specified by:
getReportEntriesin interfaceRepositoryStatusReport- Returns:
- a map of report entries
-
getReportEntry
Returns a particular entry for a given processor ID. If the processor ID does not exist, then null is returned.- Specified by:
getReportEntryin interfaceRepositoryStatusReport- Parameters:
componentId- the ID of a component; that component may be a Processor, a Connection, a ProcessGroup, etc.- Returns:
- a status entry
-
addReportEntry
Adds an entry to the report.- Specified by:
addReportEntryin interfaceRepositoryStatusReport- Parameters:
entry- an entrycomponentId- the id of the component that the entry belongs to
-
toString
-