public class MockConfigurationContext extends Object implements ConfigurationContext
| Constructor and Description |
|---|
MockConfigurationContext() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getAllProperties() |
String |
getAnnotationData() |
String |
getName() |
Map<PropertyDescriptor,String> |
getProperties() |
PropertyValue |
getProperty(PropertyDescriptor property) |
String |
getSchedulingPeriod() |
Long |
getSchedulingPeriod(TimeUnit timeUnit) |
public PropertyValue getProperty(PropertyDescriptor property)
getProperty in interface PropertyContextpublic Map<String,String> getAllProperties()
getAllProperties in interface PropertyContextpublic Map<PropertyDescriptor,String> getProperties()
getProperties in interface ConfigurationContextpublic String getAnnotationData()
getAnnotationData in interface ConfigurationContextpublic String getSchedulingPeriod()
getSchedulingPeriod in interface ConfigurationContextpublic Long getSchedulingPeriod(TimeUnit timeUnit)
getSchedulingPeriod in interface ConfigurationContextpublic String getName()
getName in interface ConfigurationContextCopyright © 2023 Apache NiFi Project. All rights reserved.