public class DocumentationReportingInitializationContext extends Object implements ReportingInitializationContext
| Modifier and Type | Field and Description |
|---|---|
private ComponentLog |
componentLog |
private String |
id |
private String |
name |
private NodeTypeProvider |
nodeTypeProvider |
| Constructor and Description |
|---|
DocumentationReportingInitializationContext() |
| Modifier and Type | Method and Description |
|---|---|
ControllerServiceLookup |
getControllerServiceLookup() |
String |
getIdentifier() |
File |
getKerberosConfigurationFile()
The Kerberos configuration file (typically krb5.conf) that will be used
by this JVM during all Kerberos operations.
|
File |
getKerberosServiceKeytab()
The File instance for the Kerberos service keytab.
|
String |
getKerberosServicePrincipal()
The Kerberos service principal used by NiFi to communicate with the KDC
in order to obtain tickets on behalf of NiFi.
|
ComponentLog |
getLogger() |
String |
getName() |
NodeTypeProvider |
getNodeTypeProvider() |
String |
getSchedulingPeriod() |
long |
getSchedulingPeriod(TimeUnit timeUnit)
Returns the amount of time, in the given
TimeUnit that will
elapsed between the return of one execution of the
ReportingTask's
onTrigger method and
the time at which the method is invoked again. |
SchedulingStrategy |
getSchedulingStrategy() |
private final String id
private final ComponentLog componentLog
private final NodeTypeProvider nodeTypeProvider
private final String name
public DocumentationReportingInitializationContext()
public String getIdentifier()
getIdentifier in interface ReportingInitializationContextpublic String getName()
getName in interface ReportingInitializationContextpublic long getSchedulingPeriod(TimeUnit timeUnit)
ReportingInitializationContextTimeUnit that will
elapsed between the return of one execution of the
ReportingTask's
onTrigger method and
the time at which the method is invoked again. This method will return
-1L if the Scheduling Strategy is not set to
SchedulingStrategy.TIMER_DRIVENgetSchedulingPeriod in interface ReportingInitializationContexttimeUnit - unit of time for schedulingpublic ControllerServiceLookup getControllerServiceLookup()
getControllerServiceLookup in interface ReportingInitializationContextControllerServiceLookup which can be used to obtain
Controller Servicespublic String getSchedulingPeriod()
getSchedulingPeriod in interface ReportingInitializationContextpublic SchedulingStrategy getSchedulingStrategy()
getSchedulingStrategy in interface ReportingInitializationContextSchedulingStrategy that is used to trigger the task
to runpublic ComponentLog getLogger()
getLogger in interface ReportingInitializationContextpublic NodeTypeProvider getNodeTypeProvider()
getNodeTypeProvider in interface ReportingInitializationContextNodeTypeProvider which can be used to detect the node
type of this NiFi instance.public String getKerberosServicePrincipal()
KerberosContextgetKerberosServicePrincipal in interface KerberosContextpublic File getKerberosServiceKeytab()
KerberosContextgetKerberosServiceKeytab in interface KerberosContextpublic File getKerberosConfigurationFile()
KerberosContextgetKerberosConfigurationFile in interface KerberosContextCopyright © 2023 Apache NiFi Project. All rights reserved.