public interface ControllerServiceLookup
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) |
ControllerService getControllerService(String serviceIdentifier)
serviceIdentifier
- of controller serviceboolean isControllerServiceEnabled(String serviceIdentifier)
serviceIdentifier
- 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
false
boolean isControllerServiceEnabling(String serviceIdentifier)
serviceIdentifier
- 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 false
boolean isControllerServiceEnabled(ControllerService service)
service
- service to checktrue
if the given Controller Service is enabled,
false
otherwise. If the given Controller Service is not
known by this ControllerServiceLookup, returns false
Set<String> getControllerServiceIdentifiers(Class<? extends ControllerService> serviceType) throws IllegalArgumentException
serviceType
- type of service to get identifiers forIllegalArgumentException
- if the given class is not an interfaceCopyright © 2016 Apache NiFi Project. All rights reserved.