Package org.apache.nifi.components
Class PropertyDependency
java.lang.Object
org.apache.nifi.components.PropertyDependency
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPropertyDependency
(String propertyName, String propertyDisplayName) Creates a dependency that is satisfied if any value is set for the property with the given namePropertyDependency
(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 -
Method Summary
-
Field Details
-
propertyName
-
displayName
-
dependentValues
-
-
Constructor Details
-
PropertyDependency
Creates a dependency that is satisfied if any value is set for the property with the given name- Parameters:
propertyName
- the name of the property that is depended uponpropertyDisplayName
- the display name of the property that is depended upon
-
PropertyDependency
public 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- Parameters:
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 dependency
-
-
Method Details
-
getPropertyName
- Returns:
- the name of the property that is depended upon
-
getPropertyDisplayName
- Returns:
- the display name of the property that is depended upon
-
getDependentValues
- Returns:
- the Set of values that satisfy the dependency
-
toString
-
equals
-
hashCode
public int hashCode()
-