public class PanCommandExecutor extends AbstractBaseCommandExecutor
YES
Constructor and Description |
---|
PanCommandExecutor(Class<?> pkgClazz) |
PanCommandExecutor(Class<?> pkgClazz,
LogChannelInterface log) |
Modifier and Type | Method and Description |
---|---|
protected static void |
configureParameters(Trans trans,
NamedParams optionParams,
TransMeta transMeta)
Configures the transformation with the given parameters and their values
|
Result |
execute(Params params) |
protected void |
executeRepositoryBasedCommand(Repository repository,
String dirName,
String listTrans,
String listDirs,
String exportRepo) |
Trans |
loadTransFromFilesystem(String initialDir,
String filename,
String jarFilename,
Serializable base64Zip) |
Trans |
loadTransFromRepository(Repository repository,
String dirName,
String transName) |
protected void |
printRepositories(RepositoriesMeta repositoriesMeta) |
protected void |
printRepositoryStoredTransformations(Repository repository,
RepositoryDirectoryInterface directory) |
protected void |
printTransformationParameters(Trans trans) |
int |
printVersion() |
calculateAndPrintElapsedTime, convert, createDefaultMetastore, decodeBase64ToZipFile, decodeBase64ToZipFile, establishRepositoryConnection, exitWithStatus, getDateFormat, getLog, getMetaStore, getPkgClazz, getResult, isEnabled, loadRepositoryConnection, loadRepositoryDirectory, loadRepositoryInfo, logDebug, logDebug, printParameter, printRepositoryDirectories, printVersion, setDateFormat, setLog, setMetaStore, setPkgClazz, setResult
public PanCommandExecutor(Class<?> pkgClazz)
public PanCommandExecutor(Class<?> pkgClazz, LogChannelInterface log)
public int printVersion()
protected void executeRepositoryBasedCommand(Repository repository, String dirName, String listTrans, String listDirs, String exportRepo) throws Exception
Exception
public Trans loadTransFromRepository(Repository repository, String dirName, String transName) throws Exception
Exception
public Trans loadTransFromFilesystem(String initialDir, String filename, String jarFilename, Serializable base64Zip) throws Exception
Exception
protected static void configureParameters(Trans trans, NamedParams optionParams, TransMeta transMeta) throws UnknownParamException
trans
- the executable transformation objectoptionParams
- the list of parameters to set for the transformationtransMeta
- the transformation metadataUnknownParamException
protected void printTransformationParameters(Trans trans) throws UnknownParamException
UnknownParamException
protected void printRepositoryStoredTransformations(Repository repository, RepositoryDirectoryInterface directory) throws KettleException
KettleException
protected void printRepositories(RepositoriesMeta repositoriesMeta)
Copyright © 2020 Hitachi Vantara. All rights reserved.