public interface ConfigurableComponent
Modifier and Type | Method and Description |
---|---|
String |
getIdentifier()
Returns the unique identifier that the framework assigned to this
component
|
PropertyDescriptor |
getPropertyDescriptor(String name)
Returns the PropertyDescriptor with the given name, if it exists;
otherwise, returns
null . |
List<PropertyDescriptor> |
getPropertyDescriptors()
Returns a
List of all PropertyDescriptor s that this
component supports. |
void |
onPropertyModified(PropertyDescriptor descriptor,
String oldValue,
String newValue)
Hook method allowing subclasses to eagerly react to a configuration
change for the given property descriptor.
|
Collection<ValidationResult> |
validate(ValidationContext context)
Validates a set of properties, returning ValidationResults for any
invalid properties.
|
Collection<ValidationResult> validate(ValidationContext context)
context
- PropertyDescriptor getPropertyDescriptor(String name)
null
.name
- void onPropertyModified(PropertyDescriptor descriptor, String oldValue, String newValue)
descriptor
- oldValue
- the value that was previously set, or null if no value
was previously set for this propertynewValue
- the new property value or if null indicates the property
was removedList<PropertyDescriptor> getPropertyDescriptors()
List
of all PropertyDescriptor
s that this
component supports.String getIdentifier()
Copyright © 2015 Apache NiFi (incubating). All rights reserved.