Interface IPdiContentProvider


public interface IPdiContentProvider
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    When a user creates a input parameter but does not want it to be written by others, it uses the syntax of an "_" (underscore) as prefix; so, if a user creates input parameter "_name", then the other users looking at it will know that they should not change it.
  • Method Summary

    Modifier and Type
    Method
    Description
    getUserParameters(String kettleFilePath)
    lists user input parameters for a given a ktr/kjb filePath
    getVariables(String kettleFilePath)
    lists variables for a given a ktr/kjb filePath
    boolean
    hasUserParameters(String kettleFilePath)
    given a ktr/kjb filePath, looks in its metadata for the existence of user input parameters, required to properly execute
  • Field Details

    • PROTECTED_PARAMETER_PREFIX

      static final String PROTECTED_PARAMETER_PREFIX
      When a user creates a input parameter but does not want it to be written by others, it uses the syntax of an "_" (underscore) as prefix; so, if a user creates input parameter "_name", then the other users looking at it will know that they should not change it.
      See Also:
  • Method Details

    • hasUserParameters

      boolean hasUserParameters(String kettleFilePath)
      given a ktr/kjb filePath, looks in its metadata for the existence of user input parameters, required to properly execute
      Parameters:
      kettleFilePath - ktr/kjb filePath
      Returns:
      true if ktr/kjb required some user-input parameters to execute, false otherwise
    • getUserParameters

      Map<String,String> getUserParameters(String kettleFilePath)
      lists user input parameters for a given a ktr/kjb filePath
      Parameters:
      kettleFilePath - ktr/kjb filePath
      Returns:
      list of user input parameters' name
    • getVariables

      Map<String,String> getVariables(String kettleFilePath)
      lists variables for a given a ktr/kjb filePath
      Parameters:
      kettleFilePath - ktr/kjb filePath
      Returns:
      list of variables' name