Interface ParameterLookup


public interface ParameterLookup
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ParameterLookup
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<org.apache.nifi.parameter.Parameter>
    getParameter(String parameterName)
    Returns the Parameter with the given name, considering the base and all inherited ParameterContexts.
    long
    Indicates the current Version of the Parameter Context.
    boolean
    Returns false if any Parameters are available, true if no Parameters have been defined in this or any inherited ParameterContexts.
  • Field Details

  • Method Details

    • getParameter

      Optional<org.apache.nifi.parameter.Parameter> getParameter(String parameterName)
      Returns the Parameter with the given name, considering the base and all inherited ParameterContexts.
      Parameters:
      parameterName - the name of the Parameter
      Returns:
      the Parameter with the given name or an empty Optional if no Parameter exists with that name
    • isEmpty

      boolean isEmpty()
      Returns false if any Parameters are available, true if no Parameters have been defined in this or any inherited ParameterContexts.
      Returns:
      true if empty
    • getVersion

      long getVersion()
      Indicates the current Version of the Parameter Context. Each time that the Parameter Context is updated, its version is incremented. This allows other components to know whether or not the values have changed since some other point in time. The version may or may not be persisted across restarts of the application.
      Returns:
      the current version