| Modifier and Type | Field and Description |
|---|---|
static PropertyDescriptor |
PropertyDescriptor.NULL_DESCRIPTOR |
| Modifier and Type | Method and Description |
|---|---|
PropertyDescriptor |
PropertyDescriptor.Builder.build() |
private PropertyDescriptor |
AbstractConfigurableComponent.getPropertyDescriptor(PropertyDescriptor specDescriptor) |
PropertyDescriptor |
ConfigurableComponent.getPropertyDescriptor(String name) |
PropertyDescriptor |
AbstractConfigurableComponent.getPropertyDescriptor(String descriptorName) |
protected PropertyDescriptor |
AbstractConfigurableComponent.getSupportedDynamicPropertyDescriptor(String propertyDescriptorName)
Used to allow subclasses to determine what PropertyDescriptor if any to
use when a property is requested for which a descriptor is not already
registered.
|
private PropertyDescriptor |
AbstractConfigurableComponent.getSupportedPropertyDescriptor(PropertyDescriptor specDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
Map<PropertyDescriptor,String> |
ValidationContext.getProperties() |
List<PropertyDescriptor> |
ConfigurableComponent.getPropertyDescriptors()
Returns a
List of all PropertyDescriptors that this
component supports. |
List<PropertyDescriptor> |
AbstractConfigurableComponent.getPropertyDescriptors() |
protected List<PropertyDescriptor> |
AbstractConfigurableComponent.getSupportedPropertyDescriptors()
Allows subclasses to register which property descriptor objects are
supported.
|
| Modifier and Type | Method and Description |
|---|---|
int |
PropertyDescriptor.compareTo(PropertyDescriptor o) |
PropertyDescriptor.Builder |
PropertyDescriptor.Builder.dependsOn(PropertyDescriptor property,
AllowableValue... dependentValues)
Establishes a relationship between this Property and the given property by declaring that this Property is only relevant if the given Property has a non-null value.
|
PropertyDescriptor.Builder |
PropertyDescriptor.Builder.dependsOn(PropertyDescriptor property,
DescribedValue firstDependentValue,
DescribedValue... additionalDependentValues)
Establishes a relationship between this Property and the given property by declaring that this Property is only relevant if the given Property has a value equal to one of the given
DescribedValue arguments. |
PropertyDescriptor.Builder |
PropertyDescriptor.Builder.dependsOn(PropertyDescriptor property,
String firstDependentValue,
String... additionalDependentValues)
Establishes a relationship between this Property and the given property by declaring that this Property is only relevant if the given Property has a value equal to one of the given
String arguments. |
PropertyDescriptor.Builder |
PropertyDescriptor.Builder.fromPropertyDescriptor(PropertyDescriptor specDescriptor) |
private PropertyDescriptor |
AbstractConfigurableComponent.getPropertyDescriptor(PropertyDescriptor specDescriptor) |
private PropertyDescriptor |
AbstractConfigurableComponent.getSupportedPropertyDescriptor(PropertyDescriptor specDescriptor) |
boolean |
ValidationContext.isDependencySatisfied(PropertyDescriptor propertyDescriptor,
Function<String,PropertyDescriptor> propertyDescriptorLookup)
Determines whether or not the dependencies of the given Property Descriptor are satisfied.
|
void |
ConfigurableComponent.onPropertyModified(PropertyDescriptor descriptor,
String oldValue,
String newValue)
Hook method allowing subclasses to eagerly react to a configuration
change for the given property descriptor.
|
void |
AbstractConfigurableComponent.onPropertyModified(PropertyDescriptor descriptor,
String oldValue,
String newValue)
Hook method allowing subclasses to eagerly react to a configuration
change for the given property descriptor.
|
private void |
AbstractConfigurableComponent.validateDependencies(PropertyDescriptor descriptor,
ValidationContext context,
Collection<ValidationResult> results) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ValidationContext.isDependencySatisfied(PropertyDescriptor propertyDescriptor,
Function<String,PropertyDescriptor> propertyDescriptorLookup)
Determines whether or not the dependencies of the given Property Descriptor are satisfied.
|
| Modifier and Type | Field and Description |
|---|---|
private PropertyDescriptor |
StandardResourceContext.propertyDescriptor |
| Modifier and Type | Method and Description |
|---|---|
PropertyDescriptor |
ResourceContext.getPropertyDescriptor() |
PropertyDescriptor |
StandardResourceContext.getPropertyDescriptor() |
| Constructor and Description |
|---|
StandardResourceContext(ResourceReferenceFactory resourceReferenceFactory,
PropertyDescriptor propertyDescriptor) |
| Modifier and Type | Method and Description |
|---|---|
PropertyValue |
PropertyContext.getProperty(PropertyDescriptor descriptor)
Retrieves the current value set for the given descriptor, if a value is
set - else uses the descriptor to determine the appropriate default value
|
| Modifier and Type | Method and Description |
|---|---|
Map<PropertyDescriptor,String> |
ConfigurationContext.getProperties() |
| Modifier and Type | Method and Description |
|---|---|
protected PropertyValue |
AbstractControllerService.getProperty(PropertyDescriptor descriptor) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
AbstractDocumentationWriter.writeProperties(List<PropertyDescriptor> properties,
Map<String,ServiceAPI> propertyServices) |
| Modifier and Type | Method and Description |
|---|---|
private void |
XmlDocumentationWriter.writeDependencies(PropertyDescriptor propertyDescriptor) |
private void |
XmlDocumentationWriter.writeProperty(PropertyDescriptor property,
Map<String,ServiceAPI> propertyServices) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
XmlDocumentationWriter.writeProperties(List<PropertyDescriptor> properties,
Map<String,ServiceAPI> propertyServices) |
| Modifier and Type | Method and Description |
|---|---|
Map<PropertyDescriptor,String> |
ProcessContext.getProperties() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ProcessContext.isExpressionLanguagePresent(PropertyDescriptor property) |
| Modifier and Type | Method and Description |
|---|---|
Map<PropertyDescriptor,String> |
ReportingContext.getProperties() |
| Modifier and Type | Method and Description |
|---|---|
Map<PropertyDescriptor,String> |
SearchContext.getProperties() |
| Modifier and Type | Method and Description |
|---|---|
PropertyValue |
SearchContext.getProperty(PropertyDescriptor property) |
Copyright © 2023 Apache NiFi Project. All rights reserved.