public interface ConfigurationContext extends PropertyContext
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the component's (ControllerService, ReportingTask, 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, getPropertyMap<PropertyDescriptor,String> getProperties()
ControllerServiceString 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 © 2018 Apache NiFi Project. All rights reserved.