Package org.pentaho.platform.api.util
Interface IPdiContentProvider
public interface IPdiContentProvider
-
Field Summary
Modifier and TypeFieldDescriptionstatic 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 TypeMethodDescriptiongetUserParameters
(String kettleFilePath) lists user input parameters for a given a ktr/kjb filePathgetVariables
(String kettleFilePath) lists variables for a given a ktr/kjb filePathboolean
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
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
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
lists user input parameters for a given a ktr/kjb filePath- Parameters:
kettleFilePath
- ktr/kjb filePath- Returns:
- list of user input parameters' name
-
getVariables
lists variables for a given a ktr/kjb filePath- Parameters:
kettleFilePath
- ktr/kjb filePath- Returns:
- list of variables' name
-