Class VariableDescriptor

java.lang.Object
org.apache.nifi.registry.VariableDescriptor
All Implemented Interfaces:
Comparable<VariableDescriptor>

public final class VariableDescriptor extends Object implements Comparable<VariableDescriptor>
An immutable object for holding information about a type of processor property.
  • Field Details

    • name

      private final String 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

      private final String 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 sensitive
      indicates that the value for this variable should be considered sensitive and protected whenever stored or represented
  • Constructor Details

    • VariableDescriptor

      public VariableDescriptor(String name)
      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

      protected VariableDescriptor(VariableDescriptor.Builder builder)
  • Method Details