Class MockControllerServiceLookup

java.lang.Object
org.apache.nifi.util.MockControllerServiceLookup
All Implemented Interfaces:
org.apache.nifi.controller.ControllerServiceLookup
Direct Known Subclasses:
EmptyControllerServiceLookup, MockControllerServiceInitializationContext, MockParameterProviderInitializationContext, MockProcessContext, MockReportingContext, MockReportingInitializationContext, MockValidationContext

public abstract class MockControllerServiceLookup extends Object implements org.apache.nifi.controller.ControllerServiceLookup
  • Field Details

  • Constructor Details

    • MockControllerServiceLookup

      public MockControllerServiceLookup()
  • Method Details

    • getControllerServices

      public Map<String,ControllerServiceConfiguration> getControllerServices()
    • addControllerService

      public ControllerServiceConfiguration addControllerService(org.apache.nifi.controller.ControllerService service, String identifier)
    • addControllerService

      public ControllerServiceConfiguration addControllerService(org.apache.nifi.controller.ControllerService service)
    • removeControllerService

      public void removeControllerService(org.apache.nifi.controller.ControllerService service)
    • addControllerServices

      protected void addControllerServices(MockControllerServiceLookup other)
    • getConfiguration

      public ControllerServiceConfiguration getConfiguration(String identifier)
    • getControllerService

      public org.apache.nifi.controller.ControllerService getControllerService(String identifier)
      Specified by:
      getControllerService in interface org.apache.nifi.controller.ControllerServiceLookup
    • isControllerServiceEnabled

      public boolean isControllerServiceEnabled(String serviceIdentifier)
      Specified by:
      isControllerServiceEnabled in interface org.apache.nifi.controller.ControllerServiceLookup
    • isControllerServiceEnabled

      public boolean isControllerServiceEnabled(org.apache.nifi.controller.ControllerService service)
      Specified by:
      isControllerServiceEnabled in interface org.apache.nifi.controller.ControllerServiceLookup
    • isControllerServiceEnabling

      public boolean isControllerServiceEnabling(String serviceIdentifier)
      Specified by:
      isControllerServiceEnabling in interface org.apache.nifi.controller.ControllerServiceLookup
    • getControllerServiceIdentifiers

      public Set<String> getControllerServiceIdentifiers(Class<? extends org.apache.nifi.controller.ControllerService> serviceType)
      Specified by:
      getControllerServiceIdentifiers in interface org.apache.nifi.controller.ControllerServiceLookup
    • getControllerServiceName

      public String getControllerServiceName(String serviceIdentifier)
      Specified by:
      getControllerServiceName in interface org.apache.nifi.controller.ControllerServiceLookup
    • getInputRequirement

      public org.apache.nifi.annotation.behavior.InputRequirement getInputRequirement()