Class StandardRepositoryStatusReport

java.lang.Object
org.apache.nifi.controller.repository.StandardRepositoryStatusReport
All Implemented Interfaces:
RepositoryStatusReport

public class StandardRepositoryStatusReport extends Object implements RepositoryStatusReport
Encapsulates the status of the processor data transfers as stored in the repository.
  • Field Details

  • Constructor Details

    • StandardRepositoryStatusReport

      public StandardRepositoryStatusReport()
  • Method Details

    • getReportEntries

      public Map<String,FlowFileEvent> getReportEntries()
      Returns a map where the key is the processor ID and the value is the status entry for the processor.
      Specified by:
      getReportEntries in interface RepositoryStatusReport
      Returns:
      a map of report entries
    • getReportEntry

      public FlowFileEvent getReportEntry(String componentId)
      Returns a particular entry for a given processor ID. If the processor ID does not exist, then null is returned.
      Specified by:
      getReportEntry in interface RepositoryStatusReport
      Parameters:
      componentId - the ID of a component; that component may be a Processor, a Connection, a ProcessGroup, etc.
      Returns:
      a status entry
    • addReportEntry

      public void addReportEntry(FlowFileEvent entry, String componentId)
      Adds an entry to the report.
      Specified by:
      addReportEntry in interface RepositoryStatusReport
      Parameters:
      entry - an entry
      componentId - the id of the component that the entry belongs to
    • toString

      public String toString()
      Overrides:
      toString in class Object