public class PropertyDependency extends Object
| Modifier and Type | Field and Description |
|---|---|
private Set<String> |
dependentValues |
private String |
displayName |
private String |
propertyName |
| Constructor and Description |
|---|
PropertyDependency(String propertyName,
String propertyDisplayName)
Creates a dependency that is satisfied if any value is set for the property with the given name
|
PropertyDependency(String propertyName,
String propertyDisplayName,
Set<String> dependentValues)
Creates a dependency that is satisfied only if the property with the given name has a value that is in the given set of dependent values
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Set<String> |
getDependentValues() |
String |
getPropertyDisplayName() |
String |
getPropertyName() |
int |
hashCode() |
String |
toString() |
private final String propertyName
private final String displayName
public PropertyDependency(String propertyName, String propertyDisplayName)
propertyName - the name of the property that is depended uponpropertyDisplayName - the display name of the property that is depended uponpublic PropertyDependency(String propertyName, String propertyDisplayName, Set<String> dependentValues)
propertyName - the name of the property that is depended uponpropertyDisplayName - the display name of the property that is depended upondependentValues - the values that satisfy the dependencypublic String getPropertyName()
public String getPropertyDisplayName()
public Set<String> getDependentValues()
Copyright © 2023 Apache NiFi Project. All rights reserved.