public class ComponentSpecificControllerServiceLookup extends Object implements ControllerServiceLookup
| Modifier and Type | Field and Description |
|---|---|
private String |
componentId |
private String |
groupId |
private ControllerServiceProvider |
serviceProvider |
| Constructor and Description |
|---|
ComponentSpecificControllerServiceLookup(ControllerServiceProvider serviceProvider,
String componentId,
String groupId) |
| Modifier and Type | Method and Description |
|---|---|
ControllerService |
getControllerService(String serviceIdentifier) |
Set<String> |
getControllerServiceIdentifiers(Class<? extends ControllerService> serviceType) |
String |
getControllerServiceName(String serviceIdentifier) |
boolean |
isControllerServiceEnabled(ControllerService service) |
boolean |
isControllerServiceEnabled(String serviceIdentifier) |
boolean |
isControllerServiceEnabling(String serviceIdentifier) |
private final ControllerServiceProvider serviceProvider
private final String componentId
private final String groupId
public ComponentSpecificControllerServiceLookup(ControllerServiceProvider serviceProvider, String componentId, String groupId)
public ControllerService getControllerService(String serviceIdentifier)
getControllerService in interface ControllerServiceLookuppublic boolean isControllerServiceEnabled(String serviceIdentifier)
isControllerServiceEnabled in interface ControllerServiceLookuppublic boolean isControllerServiceEnabling(String serviceIdentifier)
isControllerServiceEnabling in interface ControllerServiceLookuppublic boolean isControllerServiceEnabled(ControllerService service)
isControllerServiceEnabled in interface ControllerServiceLookuppublic Set<String> getControllerServiceIdentifiers(Class<? extends ControllerService> serviceType) throws IllegalArgumentException
getControllerServiceIdentifiers in interface ControllerServiceLookupIllegalArgumentExceptionpublic String getControllerServiceName(String serviceIdentifier)
getControllerServiceName in interface ControllerServiceLookupCopyright © 2021 Apache NiFi Project. All rights reserved.