public class StandardControllerServiceInitializationContext extends Object implements ControllerServiceInitializationContext, ControllerServiceLookup
| Modifier and Type | Field and Description |
|---|---|
private String |
id |
private KerberosConfig |
kerberosConfig |
private ComponentLog |
logger |
private NodeTypeProvider |
nodeTypeProvider |
private ControllerServiceProvider |
serviceProvider |
private StateManager |
stateManager |
| Constructor and Description |
|---|
StandardControllerServiceInitializationContext(String identifier,
ComponentLog logger,
ControllerServiceProvider serviceProvider,
StateManager stateManager,
KerberosConfig kerberosConfig,
NodeTypeProvider nodeTypeProvider) |
| Modifier and Type | Method and Description |
|---|---|
ControllerService |
getControllerService(String identifier) |
Set<String> |
getControllerServiceIdentifiers(Class<? extends ControllerService> serviceType) |
ControllerServiceLookup |
getControllerServiceLookup() |
String |
getControllerServiceName(String serviceIdentifier) |
String |
getIdentifier() |
File |
getKerberosConfigurationFile() |
File |
getKerberosServiceKeytab() |
String |
getKerberosServicePrincipal() |
ComponentLog |
getLogger() |
NodeTypeProvider |
getNodeTypeProvider() |
StateManager |
getStateManager() |
boolean |
isControllerServiceEnabled(ControllerService service) |
boolean |
isControllerServiceEnabled(String serviceIdentifier) |
boolean |
isControllerServiceEnabling(String serviceIdentifier) |
private final String id
private final ControllerServiceProvider serviceProvider
private final ComponentLog logger
private final StateManager stateManager
private final KerberosConfig kerberosConfig
private NodeTypeProvider nodeTypeProvider
public StandardControllerServiceInitializationContext(String identifier, ComponentLog logger, ControllerServiceProvider serviceProvider, StateManager stateManager, KerberosConfig kerberosConfig, NodeTypeProvider nodeTypeProvider)
public String getIdentifier()
getIdentifier in interface ControllerServiceInitializationContextpublic ControllerService getControllerService(String identifier)
getControllerService in interface ControllerServiceLookuppublic Set<String> getControllerServiceIdentifiers(Class<? extends ControllerService> serviceType)
getControllerServiceIdentifiers in interface ControllerServiceLookuppublic ControllerServiceLookup getControllerServiceLookup()
getControllerServiceLookup in interface ControllerServiceInitializationContextpublic boolean isControllerServiceEnabled(String serviceIdentifier)
isControllerServiceEnabled in interface ControllerServiceLookuppublic boolean isControllerServiceEnabled(ControllerService service)
isControllerServiceEnabled in interface ControllerServiceLookuppublic boolean isControllerServiceEnabling(String serviceIdentifier)
isControllerServiceEnabling in interface ControllerServiceLookuppublic String getControllerServiceName(String serviceIdentifier)
getControllerServiceName in interface ControllerServiceLookuppublic ComponentLog getLogger()
getLogger in interface ControllerServiceInitializationContextpublic StateManager getStateManager()
getStateManager in interface ControllerServiceInitializationContextpublic NodeTypeProvider getNodeTypeProvider()
getNodeTypeProvider in interface ControllerServiceInitializationContextpublic String getKerberosServicePrincipal()
getKerberosServicePrincipal in interface KerberosContextpublic File getKerberosServiceKeytab()
getKerberosServiceKeytab in interface KerberosContextpublic File getKerberosConfigurationFile()
getKerberosConfigurationFile in interface KerberosContextCopyright © 2021 Apache NiFi Project. All rights reserved.