public interface ControllerServiceLookup
Modifier and Type | Method and Description |
---|---|
ControllerService |
getControllerService(String serviceIdentifier)
Returns the ControllerService that is registered with the given
identifier
|
Set<String> |
getControllerServiceIdentifiers(Class<? extends ControllerService> serviceType)
Returns the set of all Controller Service Identifiers whose Controller
Service is of the given type.
|
boolean |
isControllerServiceEnabled(ControllerService service)
Returns
true if the given Controller Service is enabled,
false otherwise. |
boolean |
isControllerServiceEnabled(String serviceIdentifier)
Returns
true if the Controller Service with the given
identifier is enabled, false otherwise. |
ControllerService getControllerService(String serviceIdentifier)
serviceIdentifier
- boolean isControllerServiceEnabled(String serviceIdentifier)
true
if the Controller Service with the given
identifier is enabled, false
otherwise. If the given
identifier is not known by this ControllerServiceLookup, returns
false
serviceIdentifier
- boolean isControllerServiceEnabled(ControllerService service)
true
if the given Controller Service is enabled,
false
otherwise. If the given Controller Service is not
known by this ControllerServiceLookup, returns false
service
- Set<String> getControllerServiceIdentifiers(Class<? extends ControllerService> serviceType) throws IllegalArgumentException
serviceType
- IllegalArgumentException
- if the given class is not an interfaceCopyright © 2015 Apache NiFi (incubating). All rights reserved.