public class MockControllerServiceLookup extends Object implements ControllerServiceLookup
| Constructor and Description |
|---|
MockControllerServiceLookup() |
| 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 ControllerServiceLookuppublic boolean isControllerServiceEnabled(String serviceIdentifier)
isControllerServiceEnabled in interface ControllerServiceLookuppublic boolean isControllerServiceEnabled(ControllerService service)
isControllerServiceEnabled in interface ControllerServiceLookuppublic Set<String> getControllerServiceIdentifiers(Class<? extends ControllerService> serviceType) throws IllegalArgumentException
getControllerServiceIdentifiers in interface ControllerServiceLookupIllegalArgumentExceptionpublic boolean isControllerServiceEnabling(String serviceIdentifier)
isControllerServiceEnabling in interface ControllerServiceLookuppublic String getControllerServiceName(String serviceIdentifier)
getControllerServiceName in interface ControllerServiceLookupCopyright © 2023 Apache NiFi Project. All rights reserved.