Package org.apache.nifi.registry
Class VariableDescriptor
java.lang.Object
org.apache.nifi.registry.VariableDescriptor
- All Implemented Interfaces:
Comparable<VariableDescriptor>
An immutable object for holding information about a type of processor
property.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionprivate final String
A brief description of the variable.private final String
The name (or key) of the variable by which all access/lookups to the value will occur.private final boolean
indicates that the value for this variable should be considered sensitive and protected whenever stored or represented -
Constructor Summary
ModifierConstructorDescriptionVariableDescriptor
(String name) Convenience constructor to create a descriptor based on name alone.protected
-
Method Summary
-
Field Details
-
name
The name (or key) of the variable by which all access/lookups to the value will occur. This is the mechanism of establishing identity and comparing equality. -
description
A brief description of the variable. This description is meant to be displayed to a user or simply provide a mechanism of documenting intent. -
sensitive
private final boolean sensitiveindicates that the value for this variable should be considered sensitive and protected whenever stored or represented
-
-
Constructor Details
-
VariableDescriptor
Convenience constructor to create a descriptor based on name alone. To include additional parameters use Builder instead.- Parameters:
name
- name used as unique identifier for this descriptor
-
VariableDescriptor
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<VariableDescriptor>
-
getName
-
getDescription
-
isSensitive
public boolean isSensitive() -
equals
-
hashCode
public int hashCode() -
toString
-