Package org.apache.nifi.util
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddControllerService(org.apache.nifi.controller.ControllerService service) addControllerService(org.apache.nifi.controller.ControllerService service, String identifier) protected voidgetConfiguration(String identifier) org.apache.nifi.controller.ControllerServicegetControllerService(String identifier) getControllerServiceIdentifiers(Class<? extends org.apache.nifi.controller.ControllerService> serviceType) getControllerServiceName(String serviceIdentifier) org.apache.nifi.annotation.behavior.InputRequirementbooleanisControllerServiceEnabled(String serviceIdentifier) booleanisControllerServiceEnabled(org.apache.nifi.controller.ControllerService service) booleanisControllerServiceEnabling(String serviceIdentifier) voidremoveControllerService(org.apache.nifi.controller.ControllerService service)
-
Field Details
-
controllerServiceMap
-
-
Constructor Details
-
MockControllerServiceLookup
public MockControllerServiceLookup()
-
-
Method Details
-
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
-
getConfiguration
-
getControllerService
- Specified by:
getControllerServicein interfaceorg.apache.nifi.controller.ControllerServiceLookup
-
isControllerServiceEnabled
- Specified by:
isControllerServiceEnabledin interfaceorg.apache.nifi.controller.ControllerServiceLookup
-
isControllerServiceEnabled
public boolean isControllerServiceEnabled(org.apache.nifi.controller.ControllerService service) - Specified by:
isControllerServiceEnabledin interfaceorg.apache.nifi.controller.ControllerServiceLookup
-
isControllerServiceEnabling
- Specified by:
isControllerServiceEnablingin interfaceorg.apache.nifi.controller.ControllerServiceLookup
-
getControllerServiceIdentifiers
public Set<String> getControllerServiceIdentifiers(Class<? extends org.apache.nifi.controller.ControllerService> serviceType) - Specified by:
getControllerServiceIdentifiersin interfaceorg.apache.nifi.controller.ControllerServiceLookup
-
getControllerServiceName
- Specified by:
getControllerServiceNamein interfaceorg.apache.nifi.controller.ControllerServiceLookup
-
getInputRequirement
public org.apache.nifi.annotation.behavior.InputRequirement getInputRequirement()
-