Class PropertyDescriptor
java.lang.Object
org.apache.nifi.api.toolkit.model.PropertyDescriptor
@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen",
date="2023-11-22T19:25:26.907436939-06:00[America/Chicago]")
public class PropertyDescriptor
extends Object
PropertyDescriptor
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
The scope of expression language supported by this property -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List
<PropertyAllowableValue> private String
private List
<PropertyDependency> private String
private String
private Boolean
private String
private String
private Boolean
private PropertyResourceDefinition
private Boolean
private DefinedType
private String
private String
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllowableValuesItem
(PropertyAllowableValue allowableValuesItem) addDependenciesItem
(PropertyDependency dependenciesItem) allowableValues
(List<PropertyAllowableValue> allowableValues) defaultValue
(String defaultValue) dependencies
(List<PropertyDependency> dependencies) description
(String description) displayName
(String displayName) boolean
expressionLanguageScope
(PropertyDescriptor.ExpressionLanguageScopeEnum expressionLanguageScope) A list of the allowable values for the propertyThe default value if a user-set value is not specifiedThe dependencies that this property has on other propertiesThe description of what the property doesThe display name of the property key, if different from the nameThe scope of expression language supported by this propertyThe description of the expression language scope supported by this propertygetName()
The name of the property keyGet resourceDefinitionGet typeProvidedByValueName of the validator used for this property descriptorA regular expression that can be used to validate the value of this propertyint
hashCode()
Whether or not the descriptor is for a dynamically added propertyWhether or not the property is required for the componentWhether or not the value of the property is considered sensitive (e.g., passwords and keys)resourceDefinition
(PropertyResourceDefinition resourceDefinition) void
setAllowableValues
(List<PropertyAllowableValue> allowableValues) void
setDefaultValue
(String defaultValue) void
setDependencies
(List<PropertyDependency> dependencies) void
setDescription
(String description) void
setDisplayName
(String displayName) void
setDynamic
(Boolean dynamic) void
setExpressionLanguageScope
(PropertyDescriptor.ExpressionLanguageScopeEnum expressionLanguageScope) void
void
setRequired
(Boolean required) void
setResourceDefinition
(PropertyResourceDefinition resourceDefinition) void
setSensitive
(Boolean sensitive) void
setTypeProvidedByValue
(DefinedType typeProvidedByValue) void
setValidator
(String validator) void
setValidRegex
(String validRegex) private String
Convert the given object to string with each line indented by 4 spaces (except the first line).toString()
typeProvidedByValue
(DefinedType typeProvidedByValue) validRegex
(String validRegex)
-
Field Details
-
name
-
displayName
-
description
-
allowableValues
-
defaultValue
-
required
-
sensitive
-
expressionLanguageScope
-
expressionLanguageScopeDescription
-
typeProvidedByValue
-
validRegex
-
validator
-
dynamic
-
resourceDefinition
-
dependencies
-
-
Constructor Details
-
PropertyDescriptor
public PropertyDescriptor()
-
-
Method Details
-
name
-
getName
The name of the property key- Returns:
- name
-
setName
-
displayName
-
getDisplayName
The display name of the property key, if different from the name- Returns:
- displayName
-
setDisplayName
-
description
-
getDescription
The description of what the property does- Returns:
- description
-
setDescription
-
allowableValues
-
addAllowableValuesItem
-
getAllowableValues
A list of the allowable values for the property- Returns:
- allowableValues
-
setAllowableValues
-
defaultValue
-
getDefaultValue
The default value if a user-set value is not specified- Returns:
- defaultValue
-
setDefaultValue
-
required
-
isRequired
Whether or not the property is required for the component- Returns:
- required
-
setRequired
-
sensitive
-
isSensitive
Whether or not the value of the property is considered sensitive (e.g., passwords and keys)- Returns:
- sensitive
-
setSensitive
-
expressionLanguageScope
public PropertyDescriptor expressionLanguageScope(PropertyDescriptor.ExpressionLanguageScopeEnum expressionLanguageScope) -
getExpressionLanguageScope
The scope of expression language supported by this property- Returns:
- expressionLanguageScope
-
setExpressionLanguageScope
public void setExpressionLanguageScope(PropertyDescriptor.ExpressionLanguageScopeEnum expressionLanguageScope) -
getExpressionLanguageScopeDescription
The description of the expression language scope supported by this property- Returns:
- expressionLanguageScopeDescription
-
typeProvidedByValue
-
getTypeProvidedByValue
Get typeProvidedByValue- Returns:
- typeProvidedByValue
-
setTypeProvidedByValue
-
validRegex
-
getValidRegex
A regular expression that can be used to validate the value of this property- Returns:
- validRegex
-
setValidRegex
-
validator
-
getValidator
Name of the validator used for this property descriptor- Returns:
- validator
-
setValidator
-
dynamic
-
isDynamic
Whether or not the descriptor is for a dynamically added property- Returns:
- dynamic
-
setDynamic
-
resourceDefinition
-
getResourceDefinition
Get resourceDefinition- Returns:
- resourceDefinition
-
setResourceDefinition
-
dependencies
-
addDependenciesItem
-
getDependencies
The dependencies that this property has on other properties- Returns:
- dependencies
-
setDependencies
-
equals
-
hashCode
public int hashCode() -
toString
-
toIndentedString
Convert the given object to string with each line indented by 4 spaces (except the first line).
-