public interface ConfigurationContext
Modifier and Type | Method and Description |
---|---|
Map<PropertyDescriptor,String> |
getProperties() |
PropertyValue |
getProperty(PropertyDescriptor property) |
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. |
PropertyValue getProperty(PropertyDescriptor property)
property
- to retrieve by nameMap<PropertyDescriptor,String> getProperties()
ControllerService
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
periodCopyright © 2017 Apache NiFi Project. All rights reserved.