Package org.apache.nifi.processor
Class ComponentSpecificControllerServiceLookup
java.lang.Object
org.apache.nifi.processor.ComponentSpecificControllerServiceLookup
- All Implemented Interfaces:
ControllerServiceLookup
public class ComponentSpecificControllerServiceLookup
extends Object
implements ControllerServiceLookup
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final Stringprivate final ControllerServiceProvider -
Constructor Summary
ConstructorsConstructorDescriptionComponentSpecificControllerServiceLookup(ControllerServiceProvider serviceProvider, String componentId, String groupId) -
Method Summary
Modifier and TypeMethodDescriptiongetControllerService(String serviceIdentifier) getControllerServiceIdentifiers(Class<? extends ControllerService> serviceType) getControllerServiceName(String serviceIdentifier) booleanisControllerServiceEnabled(String serviceIdentifier) booleanbooleanisControllerServiceEnabling(String serviceIdentifier)
-
Field Details
-
serviceProvider
-
componentId
-
groupId
-
-
Constructor Details
-
ComponentSpecificControllerServiceLookup
public ComponentSpecificControllerServiceLookup(ControllerServiceProvider serviceProvider, String componentId, String groupId)
-
-
Method Details
-
getControllerService
- Specified by:
getControllerServicein interfaceControllerServiceLookup
-
isControllerServiceEnabled
- Specified by:
isControllerServiceEnabledin interfaceControllerServiceLookup
-
isControllerServiceEnabling
- Specified by:
isControllerServiceEnablingin interfaceControllerServiceLookup
-
isControllerServiceEnabled
- Specified by:
isControllerServiceEnabledin interfaceControllerServiceLookup
-
getControllerServiceIdentifiers
public Set<String> getControllerServiceIdentifiers(Class<? extends ControllerService> serviceType) throws IllegalArgumentException - Specified by:
getControllerServiceIdentifiersin interfaceControllerServiceLookup- Throws:
IllegalArgumentException
-
getControllerServiceName
- Specified by:
getControllerServiceNamein interfaceControllerServiceLookup
-