public class StandardReportingInitializationContext extends Object implements ReportingInitializationContext, ControllerServiceLookup
| Modifier and Type | Field and Description |
|---|---|
private String |
id |
private KerberosConfig |
kerberosConfig |
private ComponentLog |
logger |
private String |
name |
private NodeTypeProvider |
nodeTypeProvider |
private String |
schedulingPeriod |
private SchedulingStrategy |
schedulingStrategy |
private ControllerServiceProvider |
serviceProvider |
| Constructor and Description |
|---|
StandardReportingInitializationContext(String id,
String name,
SchedulingStrategy schedulingStrategy,
String schedulingPeriod,
ComponentLog logger,
ControllerServiceProvider serviceProvider,
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() |
String |
getName() |
NodeTypeProvider |
getNodeTypeProvider() |
String |
getSchedulingPeriod() |
long |
getSchedulingPeriod(TimeUnit timeUnit) |
SchedulingStrategy |
getSchedulingStrategy() |
boolean |
isControllerServiceEnabled(ControllerService service) |
boolean |
isControllerServiceEnabled(String serviceIdentifier) |
boolean |
isControllerServiceEnabling(String serviceIdentifier) |
private final String id
private final String name
private final String schedulingPeriod
private final SchedulingStrategy schedulingStrategy
private final ControllerServiceProvider serviceProvider
private final ComponentLog logger
private final KerberosConfig kerberosConfig
private final NodeTypeProvider nodeTypeProvider
public StandardReportingInitializationContext(String id, String name, SchedulingStrategy schedulingStrategy, String schedulingPeriod, ComponentLog logger, ControllerServiceProvider serviceProvider, KerberosConfig kerberosConfig, NodeTypeProvider nodeTypeProvider)
public String getIdentifier()
getIdentifier in interface ReportingInitializationContextpublic String getName()
getName in interface ReportingInitializationContextpublic long getSchedulingPeriod(TimeUnit timeUnit)
getSchedulingPeriod in interface ReportingInitializationContextpublic String getSchedulingPeriod()
getSchedulingPeriod in interface ReportingInitializationContextpublic SchedulingStrategy getSchedulingStrategy()
getSchedulingStrategy in interface ReportingInitializationContextpublic Set<String> getControllerServiceIdentifiers(Class<? extends ControllerService> serviceType)
getControllerServiceIdentifiers in interface ControllerServiceLookuppublic ControllerService getControllerService(String identifier)
getControllerService in interface ControllerServiceLookuppublic boolean isControllerServiceEnabled(ControllerService service)
isControllerServiceEnabled in interface ControllerServiceLookuppublic boolean isControllerServiceEnabled(String serviceIdentifier)
isControllerServiceEnabled in interface ControllerServiceLookuppublic boolean isControllerServiceEnabling(String serviceIdentifier)
isControllerServiceEnabling in interface ControllerServiceLookuppublic ControllerServiceLookup getControllerServiceLookup()
getControllerServiceLookup in interface ReportingInitializationContextpublic String getControllerServiceName(String serviceIdentifier)
getControllerServiceName in interface ControllerServiceLookuppublic ComponentLog getLogger()
getLogger in interface ReportingInitializationContextpublic String getKerberosServicePrincipal()
getKerberosServicePrincipal in interface KerberosContextpublic File getKerberosServiceKeytab()
getKerberosServiceKeytab in interface KerberosContextpublic File getKerberosConfigurationFile()
getKerberosConfigurationFile in interface KerberosContextpublic NodeTypeProvider getNodeTypeProvider()
getNodeTypeProvider in interface ReportingInitializationContextCopyright © 2021 Apache NiFi Project. All rights reserved.