Class MockBulletinRepository

java.lang.Object
org.apache.nifi.util.MockBulletinRepository
All Implemented Interfaces:
org.apache.nifi.reporting.BulletinRepository

public class MockBulletinRepository extends Object implements org.apache.nifi.reporting.BulletinRepository
  • Constructor Details

    • MockBulletinRepository

      public MockBulletinRepository()
  • Method Details

    • addBulletin

      public void addBulletin(org.apache.nifi.reporting.Bulletin bulletin)
      Specified by:
      addBulletin in interface org.apache.nifi.reporting.BulletinRepository
    • getControllerBulletinCapacity

      public int getControllerBulletinCapacity()
      Specified by:
      getControllerBulletinCapacity in interface org.apache.nifi.reporting.BulletinRepository
    • getComponentBulletinCapacity

      public int getComponentBulletinCapacity()
      Specified by:
      getComponentBulletinCapacity in interface org.apache.nifi.reporting.BulletinRepository
    • findBulletins

      public List<org.apache.nifi.reporting.Bulletin> findBulletins(org.apache.nifi.reporting.BulletinQuery bulletinQuery)
      Specified by:
      findBulletins in interface org.apache.nifi.reporting.BulletinRepository
    • findBulletinsForSource

      public List<org.apache.nifi.reporting.Bulletin> findBulletinsForSource(String sourceId)
      Specified by:
      findBulletinsForSource in interface org.apache.nifi.reporting.BulletinRepository
    • findBulletinsForSource

      public List<org.apache.nifi.reporting.Bulletin> findBulletinsForSource(String sourceId, String groupId)
      Specified by:
      findBulletinsForSource in interface org.apache.nifi.reporting.BulletinRepository
    • findBulletinsForGroupBySource

      public List<org.apache.nifi.reporting.Bulletin> findBulletinsForGroupBySource(String groupId)
      Specified by:
      findBulletinsForGroupBySource in interface org.apache.nifi.reporting.BulletinRepository
    • findBulletinsForGroupBySource

      public List<org.apache.nifi.reporting.Bulletin> findBulletinsForGroupBySource(String groupId, int maxPerComponent)
      Specified by:
      findBulletinsForGroupBySource in interface org.apache.nifi.reporting.BulletinRepository
    • findBulletinsForController

      public List<org.apache.nifi.reporting.Bulletin> findBulletinsForController()
      Specified by:
      findBulletinsForController in interface org.apache.nifi.reporting.BulletinRepository
    • findBulletinsForController

      public List<org.apache.nifi.reporting.Bulletin> findBulletinsForController(int max)
      Specified by:
      findBulletinsForController in interface org.apache.nifi.reporting.BulletinRepository
    • getMaxBulletinId

      public long getMaxBulletinId()
      Specified by:
      getMaxBulletinId in interface org.apache.nifi.reporting.BulletinRepository