Package org.apache.nifi.util
Class MockControllerServiceLookup
java.lang.Object
org.apache.nifi.util.MockControllerServiceLookup
- All Implemented Interfaces:
ControllerServiceLookup
- Direct Known Subclasses:
EmptyControllerServiceLookup
,MockControllerServiceInitializationContext
,MockParameterProviderInitializationContext
,MockProcessContext
,MockReportingContext
,MockReportingInitializationContext
,MockValidationContext
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddControllerService
(ControllerService service) addControllerService
(ControllerService service, String identifier) protected void
protected ControllerServiceConfiguration
getConfiguration
(String identifier) getControllerService
(String identifier) getControllerServiceIdentifiers
(Class<? extends ControllerService> serviceType) getControllerServiceName
(String serviceIdentifier) boolean
isControllerServiceEnabled
(String serviceIdentifier) boolean
boolean
isControllerServiceEnabling
(String serviceIdentifier) void
removeControllerService
(ControllerService service)
-
Field Details
-
controllerServiceMap
-
-
Constructor Details
-
MockControllerServiceLookup
public MockControllerServiceLookup()
-
-
Method Details
-
getControllerServices
-
addControllerService
public ControllerServiceConfiguration addControllerService(ControllerService service, String identifier) -
addControllerService
-
removeControllerService
-
addControllerServices
-
getConfiguration
-
getControllerService
- Specified by:
getControllerService
in interfaceControllerServiceLookup
-
isControllerServiceEnabled
- Specified by:
isControllerServiceEnabled
in interfaceControllerServiceLookup
-
isControllerServiceEnabled
- Specified by:
isControllerServiceEnabled
in interfaceControllerServiceLookup
-
isControllerServiceEnabling
- Specified by:
isControllerServiceEnabling
in interfaceControllerServiceLookup
-
getControllerServiceIdentifiers
- Specified by:
getControllerServiceIdentifiers
in interfaceControllerServiceLookup
-
getControllerServiceName
- Specified by:
getControllerServiceName
in interfaceControllerServiceLookup
-
getInputRequirement
-