java.lang.Object
org.apache.nifi.components.PropertyDescriptor
- All Implemented Interfaces:
Comparable<PropertyDescriptor>
An immutable object for holding information about a type of component
property.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanClass<? extends ControllerService> getName()inthashCode()booleanbooleanbooleanbooleanbooleantoString()validate(String input, ValidationContext context) Validates the given input against this property descriptor's validator.
-
Field Details
-
NULL_DESCRIPTOR
-
-
Constructor Details
-
PropertyDescriptor
-
-
Method Details
-
compareTo
- Specified by:
compareToin interfaceComparable<PropertyDescriptor>
-
validate
Validates the given input against this property descriptor's validator. If this descriptor has a set of allowable values then the given value is only checked against the allowable values.- Parameters:
input- the value to validatecontext- the context of validation- Returns:
- the result of validating the input
-
getDisplayName
-
getName
-
getDescription
-
getDefaultValue
-
isRequired
public boolean isRequired() -
isSensitive
public boolean isSensitive() -
isDynamic
public boolean isDynamic() -
isExpressionLanguageSupported
public boolean isExpressionLanguageSupported() -
getExpressionLanguageScope
-
isDynamicClasspathModifier
public boolean isDynamicClasspathModifier() -
getControllerServiceDefinition
-
getValidators
-
getAllowableValues
-
getDependencies
-
getResourceDefinition
-
equals
-
hashCode
public int hashCode() -
toString
-