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
|
int |
execute(String repoName,
String noRepo,
String username,
String trustUser,
String password,
String dirName,
String filename,
String jarFile,
String transName,
String listTrans,
String listDirs,
String exportRepo,
String initialDir,
String listRepos,
String safemode,
String metrics,
String listParams,
NamedParams params,
String[] arguments) |
Trans |
executeFilesystemBasedCommand(String initialDir,
String filename,
String jarFilename) |
Trans |
executeRepositoryBasedCommand(Repository repository,
RepositoryMeta repositoryMeta,
String dirName,
String transName,
String listTrans,
String listDirs,
String exportRepo) |
protected void |
printRepositories(RepositoriesMeta repositoriesMeta) |
protected void |
printRepositoryStoredTransformations(Repository repository,
RepositoryDirectoryInterface directory) |
protected void |
printTransformationParameters(Trans trans) |
int |
printVersion() |
calculateAndPrintElapsedTime, createDefaultMetastore, establishRepositoryConnection, getDateFormat, getLog, getMetaStore, getPkgClazz, isEnabled, loadRepositoryConnection, loadRepositoryInfo, logDebug, logDebug, printParameter, printRepositoryDirectories, printVersion, setDateFormat, setLog, setMetaStore, setPkgClazzpublic PanCommandExecutor(Class<?> pkgClazz)
public PanCommandExecutor(Class<?> pkgClazz, LogChannelInterface log)
public int execute(String repoName, String noRepo, String username, String trustUser, String password, String dirName, String filename, String jarFile, String transName, String listTrans, String listDirs, String exportRepo, String initialDir, String listRepos, String safemode, String metrics, String listParams, NamedParams params, String[] arguments) throws Throwable
Throwablepublic int printVersion()
public Trans executeRepositoryBasedCommand(Repository repository, RepositoryMeta repositoryMeta, String dirName, String transName, String listTrans, String listDirs, String exportRepo) throws Exception
Exceptionpublic Trans executeFilesystemBasedCommand(String initialDir, String filename, String jarFilename) throws Exception
Exceptionprotected 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 metadataUnknownParamExceptionprotected void printTransformationParameters(Trans trans) throws UnknownParamException
UnknownParamExceptionprotected void printRepositoryStoredTransformations(Repository repository, RepositoryDirectoryInterface directory) throws KettleException
KettleExceptionprotected void printRepositories(RepositoriesMeta repositoriesMeta)
Copyright © 2018 Hitachi Vantara. All rights reserved.