public interface ConfigurationContext extends PropertyContext
Modifier and Type | Method and Description |
---|---|
String |
getAnnotationData() |
String |
getName()
Returns the component's (ControllerService, ReportingTask, ParameterProvider, e.g.) name
|
Map<PropertyDescriptor,String> |
getProperties() |
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
component's onTrigger method and
the time at which the method is invoked again. |
getAllProperties, getProperty
Map<PropertyDescriptor,String> getProperties()
ControllerService
String getAnnotationData()
String getSchedulingPeriod()
null
if
the component does not have a scheduling period (e.g., for ControllerServices)Long getSchedulingPeriod(TimeUnit timeUnit)
TimeUnit
that will
elapsed between the return of one execution of the
component's onTrigger
method and
the time at which the method is invoked again. This method will return
null if the component does not have a scheduling period (e.g., for ControllerServices)timeUnit
- unit of time for schedulingnull
if component does not have a scheduling
periodString getName()
Copyright © 2022 Apache NiFi Project. All rights reserved.