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
-
Method Summary
Modifier and TypeMethodDescriptionorg.pentaho.di.core.parameters.NamedParams
org.pentaho.di.core.parameters.NamedParams
getUuid()
void
setBase64Zip
(String base64Zip) void
setBlockRepoConns
(String blockRepoConns) void
setCustomNamedParams
(org.pentaho.di.core.parameters.NamedParams customNamedParams) void
setExportRepo
(String exportRepo) void
setInputDir
(String inputDir) void
setInputFile
(String inputFile) void
setListFileParams
(String listFileParams) void
setListRepoDirs
(String listRepoDirs) void
setListRepoFiles
(String listRepoFiles) void
setListRepos
(String listRepos) void
setLocalFile
(String localFile) void
setLocalInitialDir
(String localInitialDir) void
setLocalJarFile
(String localJarFile) void
setLogFile
(String logFile) void
setLogLevel
(String logLevel) void
setMaxLogLines
(String maxLogLines) void
setMaxLogTimeout
(String maxLogTimeout) void
setMetrics
(String metrics) void
setNamedParams
(org.pentaho.di.core.parameters.NamedParams params) void
setOldLogFile
(String oldLogFile) void
setRepoName
(String repoName) void
setRepoPassword
(String repoPassword) void
setRepoUsername
(String repoUsername) void
setResultSetCopyNumber
(String resultSetCopyNumber) void
setResultSetStepName
(String resultSetStepName) void
setSafeMode
(String safeMode) void
setTrustRepoUser
(String trustRepoUser) void
void
setVersion
(String version)
-
Method Details
-
getUuid
-
setUuid
-
getRepoName
- Specified by:
getRepoName
in interfaceIParams
- Returns:
- repoName Enterprise or database repository name, if you are using one
-
setRepoName
-
getBlockRepoConns
- Specified by:
getBlockRepoConns
in 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:
getRepoUsername
in interfaceIParams
- Returns:
- repoUsername Repository username
-
setRepoUsername
-
getTrustRepoUser
- Specified by:
getTrustRepoUser
in interfaceIParams
- Returns:
- trustRepoUser Trust the repository username passed along ( i.e. no password required )
-
setTrustRepoUser
-
getRepoPassword
- Specified by:
getRepoPassword
in interfaceIParams
- Returns:
- repoPassword Repository password
-
setRepoPassword
-
getInputDir
- Specified by:
getInputDir
in interfaceIParams
- Returns:
- inputDir The directory that contains the file, including the leading slash
-
setInputDir
-
getLocalFile
- Specified by:
getLocalFile
in 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:
getLocalJarFile
in 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:
getInputFile
in interfaceIParams
- Returns:
- inputFile The name of the file to launch
-
setInputFile
-
getListRepoFiles
- Specified by:
getListRepoFiles
in interfaceIParams
- Returns:
- listRepoFiles Lists the transformations in the specified repository directory
-
setListRepoFiles
-
getListRepoDirs
- Specified by:
getListRepoDirs
in interfaceIParams
- Returns:
- listDirs Lists the directories in the specified repository
-
setListRepoDirs
-
getExportRepo
- Specified by:
getExportRepo
in interfaceIParams
- Returns:
- exportRepo Exports all repository objects to one XML file
-
setExportRepo
-
getLocalInitialDir
- Specified by:
getLocalInitialDir
in 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:
getListRepos
in interfaceIParams
- Returns:
- listRepos Lists the available repositories
-
setListRepos
-
getSafeMode
- Specified by:
getSafeMode
in interfaceIParams
- Returns:
- safeMode Runs in safe mode, which enables extra checking
-
setSafeMode
-
getMetrics
- Specified by:
getMetrics
in interfaceIParams
- Returns:
- metrics Enables kettle metric gathering
-
setMetrics
-
getListFileParams
- Specified by:
getListFileParams
in interfaceIParams
- Returns:
- listFileParams List information about the defined named parameters in the specified file.
-
setListFileParams
-
getLogLevel
- Specified by:
getLogLevel
in interfaceIParams
- Returns:
- logLevel The logging level (Basic, Detailed, Debug, Rowlevel, Error, Nothing)
-
setLogLevel
-
getMaxLogLines
- Specified by:
getMaxLogLines
in 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:
getMaxLogTimeout
in 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:
getLogFile
in interfaceIParams
- Returns:
- logFile A local filename to write log output to
-
setLogFile
-
getOldLogFile
- Specified by:
getOldLogFile
in 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:
getVersion
in interfaceIParams
- Returns:
- version Shows the version, revision, and build date
-
setVersion
-
getResultSetStepName
- Specified by:
getResultSetStepName
in interfaceIParams
- Returns:
- the step name from which we want the result set
-
setResultSetStepName
-
getResultSetCopyNumber
- Specified by:
getResultSetCopyNumber
in interfaceIParams
- Returns:
- the step copy number from which we want the result set
-
setResultSetCopyNumber
-
getBase64Zip
- Specified by:
getBase64Zip
in interfaceIParams
- Returns:
- the BASE64 representation of the zipped ETL work item
-
setBase64Zip
-
getNamedParams
public org.pentaho.di.core.parameters.NamedParams getNamedParams()- Specified by:
getNamedParams
in 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:
getCustomNamedParams
in 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:
getCustomParams
in interfaceIParams
- Returns:
- customParams parameters to be passed into the executing file
-