Class ParameterDescriptor

java.lang.Object
org.apache.nifi.parameter.ParameterDescriptor

public class ParameterDescriptor extends Object
An immutable class that holds information about a Parameter. Parameters are constructed through use of the ParameterDescriptor.Builder class.
  • Field Details

    • name

      private final String name
    • description

      private final String description
    • sensitive

      private final boolean sensitive
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Returns:
      the name of the parameter
    • getDescription

      public String getDescription()
      Returns:
      a description of the parameter
    • isSensitive

      public boolean isSensitive()
      Returns:
      whether or not the parameter is considered sensitive.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object