Package org.pentaho.di.base
Class Params
java.lang.Object
org.pentaho.di.base.Params
- All Implemented Interfaces:
Serializable,IParams
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionorg.pentaho.di.core.parameters.NamedParamsorg.pentaho.di.core.parameters.NamedParamsgetUuid()voidsetBase64Zip(String base64Zip) voidsetBlockRepoConns(String blockRepoConns) voidsetCustomNamedParams(org.pentaho.di.core.parameters.NamedParams customNamedParams) voidsetExportRepo(String exportRepo) voidsetInputDir(String inputDir) voidsetInputFile(String inputFile) voidsetListFileParams(String listFileParams) voidsetListRepoDirs(String listRepoDirs) voidsetListRepoFiles(String listRepoFiles) voidsetListRepos(String listRepos) voidsetLocalFile(String localFile) voidsetLocalInitialDir(String localInitialDir) voidsetLocalJarFile(String localJarFile) voidsetLogFile(String logFile) voidsetLogLevel(String logLevel) voidsetMaxLogLines(String maxLogLines) voidsetMaxLogTimeout(String maxLogTimeout) voidsetMetrics(String metrics) voidsetNamedParams(org.pentaho.di.core.parameters.NamedParams params) voidsetOldLogFile(String oldLogFile) voidsetRepoName(String repoName) voidsetRepoPassword(String repoPassword) voidsetRepoUsername(String repoUsername) voidsetResultSetCopyNumber(String resultSetCopyNumber) voidsetResultSetStepName(String resultSetStepName) voidsetSafeMode(String safeMode) voidsetTrustRepoUser(String trustRepoUser) voidvoidsetVersion(String version)
-
Method Details
-
getUuid
-
setUuid
-
getRepoName
- Specified by:
getRepoNamein interfaceIParams- Returns:
- repoName Enterprise or database repository name, if you are using one
-
setRepoName
-
getBlockRepoConns
- Specified by:
getBlockRepoConnsin interfaceIParams- Returns:
- blockRepoConns Prevents from logging into a repository. If you have set the KETTLE_REPOSITORY, KETTLE_USER, and KETTLE_PASSWORD environment variables, then this option will enable you to prevent from logging into the specified repository, assuming you would like to execute a local KTR file instead.
-
setBlockRepoConns
-
getRepoUsername
- Specified by:
getRepoUsernamein interfaceIParams- Returns:
- repoUsername Repository username
-
setRepoUsername
-
getTrustRepoUser
- Specified by:
getTrustRepoUserin interfaceIParams- Returns:
- trustRepoUser Trust the repository username passed along ( i.e. no password required )
-
setTrustRepoUser
-
getRepoPassword
- Specified by:
getRepoPasswordin interfaceIParams- Returns:
- repoPassword Repository password
-
setRepoPassword
-
getInputDir
- Specified by:
getInputDirin interfaceIParams- Returns:
- inputDir The directory that contains the file, including the leading slash
-
setInputDir
-
getLocalFile
- Specified by:
getLocalFilein interfaceIParams- Returns:
- localFile If you are calling a local file, this is the filename, including the path if it is not in the local directory
-
setLocalFile
-
getLocalJarFile
- Specified by:
getLocalJarFilein interfaceIParams- Returns:
- localJarFile If you are calling a file within a local jar file, this is the filename, including the path if it is not in the local directory
-
setLocalJarFile
-
getInputFile
- Specified by:
getInputFilein interfaceIParams- Returns:
- inputFile The name of the file to launch
-
setInputFile
-
getListRepoFiles
- Specified by:
getListRepoFilesin interfaceIParams- Returns:
- listRepoFiles Lists the transformations in the specified repository directory
-
setListRepoFiles
-
getListRepoDirs
- Specified by:
getListRepoDirsin interfaceIParams- Returns:
- listDirs Lists the directories in the specified repository
-
setListRepoDirs
-
getExportRepo
- Specified by:
getExportRepoin interfaceIParams- Returns:
- exportRepo Exports all repository objects to one XML file
-
setExportRepo
-
getLocalInitialDir
- Specified by:
getLocalInitialDirin interfaceIParams- Returns:
- localInitialDir if local filename starts with scheme like zip:, then you can pass along the initial dir to it
-
setLocalInitialDir
-
getListRepos
- Specified by:
getListReposin interfaceIParams- Returns:
- listRepos Lists the available repositories
-
setListRepos
-
getSafeMode
- Specified by:
getSafeModein interfaceIParams- Returns:
- safeMode Runs in safe mode, which enables extra checking
-
setSafeMode
-
getMetrics
- Specified by:
getMetricsin interfaceIParams- Returns:
- metrics Enables kettle metric gathering
-
setMetrics
-
getListFileParams
- Specified by:
getListFileParamsin interfaceIParams- Returns:
- listFileParams List information about the defined named parameters in the specified file.
-
setListFileParams
-
getLogLevel
- Specified by:
getLogLevelin interfaceIParams- Returns:
- logLevel The logging level (Basic, Detailed, Debug, Rowlevel, Error, Nothing)
-
setLogLevel
-
getMaxLogLines
- Specified by:
getMaxLogLinesin interfaceIParams- Returns:
- maxLogLines The maximum number of log lines that are kept internally by PDI. Set to 0 to keep all rows (default)
-
setMaxLogLines
-
getMaxLogTimeout
- Specified by:
getMaxLogTimeoutin interfaceIParams- Returns:
- maxLogTimeout The maximum age (in minutes) of a log line while being kept internally by PDI. Set to 0 to keep all rows indefinitely (default)
-
setMaxLogTimeout
-
getLogFile
- Specified by:
getLogFilein interfaceIParams- Returns:
- logFile A local filename to write log output to
-
setLogFile
-
getOldLogFile
- Specified by:
getOldLogFilein interfaceIParams- Returns:
- oldLogFile if the old style of logging name is filled in, and the new one is not, overwrite the new by the old
-
setOldLogFile
-
getVersion
- Specified by:
getVersionin interfaceIParams- Returns:
- version Shows the version, revision, and build date
-
setVersion
-
getResultSetStepName
- Specified by:
getResultSetStepNamein interfaceIParams- Returns:
- the step name from which we want the result set
-
setResultSetStepName
-
getResultSetCopyNumber
- Specified by:
getResultSetCopyNumberin interfaceIParams- Returns:
- the step copy number from which we want the result set
-
setResultSetCopyNumber
-
getBase64Zip
- Specified by:
getBase64Zipin interfaceIParams- Returns:
- the BASE64 representation of the zipped ETL work item
-
setBase64Zip
-
getNamedParams
public org.pentaho.di.core.parameters.NamedParams getNamedParams()- Specified by:
getNamedParamsin interfaceIParams- Returns:
- namedParams parameters to be passed into the executing file
-
setNamedParams
public void setNamedParams(org.pentaho.di.core.parameters.NamedParams params) -
getParams
-
getCustomNamedParams
public org.pentaho.di.core.parameters.NamedParams getCustomNamedParams()- Specified by:
getCustomNamedParamsin interfaceIParams- Returns:
- namedParams custom parameters to be passed into the executing file
-
setCustomNamedParams
public void setCustomNamedParams(org.pentaho.di.core.parameters.NamedParams customNamedParams) -
getCustomParams
- Specified by:
getCustomParamsin interfaceIParams- Returns:
- customParams parameters to be passed into the executing file
-