public class EmptyControllerServiceLookup extends Object implements ControllerServiceLookup
| Constructor and Description |
|---|
EmptyControllerServiceLookup() |
| 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) |
public ControllerService getControllerService(String serviceIdentifier)
getControllerService in interface ControllerServiceLookupserviceIdentifier - of controller servicepublic boolean isControllerServiceEnabled(String serviceIdentifier)
isControllerServiceEnabled in interface ControllerServiceLookupserviceIdentifier - identifier of service to checktrue if the Controller Service with the given
identifier is enabled, false otherwise. If the given
identifier is not known by this ControllerServiceLookup, returns
falsepublic boolean isControllerServiceEnabling(String serviceIdentifier)
isControllerServiceEnabling in interface ControllerServiceLookupserviceIdentifier - identifier of service to checktrue if the Controller Service with the given
identifier has been enabled but is still in the transitioning state,
otherwise returns false. If the given identifier is not
known by this ControllerServiceLookup, returns falsepublic boolean isControllerServiceEnabled(ControllerService service)
isControllerServiceEnabled in interface ControllerServiceLookupservice - service to checktrue if the given Controller Service is enabled,
false otherwise. If the given Controller Service is not
known by this ControllerServiceLookup, returns falsepublic Set<String> getControllerServiceIdentifiers(Class<? extends ControllerService> serviceType) throws IllegalArgumentException
getControllerServiceIdentifiers in interface ControllerServiceLookupserviceType - type of service to get identifiers forIllegalArgumentException - if the given class is not an interfacepublic String getControllerServiceName(String serviceIdentifier)
getControllerServiceName in interface ControllerServiceLookupserviceIdentifier - identifier to look upnullCopyright © 2023 Apache NiFi Project. All rights reserved.