Package org.pentaho.di.pan
Class PanCommandExecutor
java.lang.Object
org.pentaho.di.base.AbstractBaseCommandExecutor
org.pentaho.di.pan.PanCommandExecutor
-
Field Summary
Fields inherited from class org.pentaho.di.base.AbstractBaseCommandExecutor
YES
-
Constructor Summary
ConstructorDescriptionPanCommandExecutor
(Class<?> pkgClazz) PanCommandExecutor
(Class<?> pkgClazz, org.pentaho.di.core.logging.LogChannelInterface log) -
Method Summary
Modifier and TypeMethodDescriptionprotected static void
configureParameters
(Trans trans, org.pentaho.di.core.parameters.NamedParams optionParams, TransMeta transMeta) Configures the transformation with the given parameters and their valuesorg.pentaho.di.core.Result
org.pentaho.di.core.Result
protected void
executeRepositoryBasedCommand
(Repository repository, String dirName, String listTrans, String listDirs, String exportRepo) protected org.pentaho.di.core.Result
exitWithStatus
(int exitStatus, Trans trans) loadTransFromFilesystem
(String initialDir, String filename, String jarFilename, Serializable base64Zip) loadTransFromRepository
(Repository repository, String dirName, String transName) protected void
printRepositories
(RepositoriesMeta repositoriesMeta) protected void
printRepositoryStoredTransformations
(Repository repository, org.pentaho.di.repository.RepositoryDirectoryInterface directory) protected void
int
Methods inherited from class org.pentaho.di.base.AbstractBaseCommandExecutor
calculateAndPrintElapsedTime, convert, decodeBase64ToZipFile, decodeBase64ToZipFile, establishRepositoryConnection, exitWithStatus, getDateFormat, getLog, getMetaStore, getPkgClazz, getResult, isEnabled, loadRepositoryConnection, loadRepositoryDirectory, loadRepositoryInfo, logDebug, logDebug, printParameter, printRepositoryDirectories, printVersion, setDateFormat, setLog, setMetaStore, setPkgClazz, setResult
-
Constructor Details
-
PanCommandExecutor
-
PanCommandExecutor
-
-
Method Details
-
execute
- Throws:
Throwable
-
execute
- Throws:
Throwable
-
exitWithStatus
-
printVersion
public int printVersion() -
executeRepositoryBasedCommand
protected void executeRepositoryBasedCommand(Repository repository, String dirName, String listTrans, String listDirs, String exportRepo) throws Exception - Throws:
Exception
-
loadTransFromRepository
public Trans loadTransFromRepository(Repository repository, String dirName, String transName) throws Exception - Throws:
Exception
-
loadTransFromFilesystem
public Trans loadTransFromFilesystem(String initialDir, String filename, String jarFilename, Serializable base64Zip) throws Exception - Throws:
Exception
-
configureParameters
protected static void configureParameters(Trans trans, org.pentaho.di.core.parameters.NamedParams optionParams, TransMeta transMeta) throws org.pentaho.di.core.parameters.UnknownParamException Configures the transformation with the given parameters and their values- Parameters:
trans
- the executable transformation objectoptionParams
- the list of parameters to set for the transformationtransMeta
- the transformation metadata- Throws:
org.pentaho.di.core.parameters.UnknownParamException
-
printTransformationParameters
protected void printTransformationParameters(Trans trans) throws org.pentaho.di.core.parameters.UnknownParamException - Throws:
org.pentaho.di.core.parameters.UnknownParamException
-
printRepositoryStoredTransformations
protected void printRepositoryStoredTransformations(Repository repository, org.pentaho.di.repository.RepositoryDirectoryInterface directory) throws org.pentaho.di.core.exception.KettleException - Throws:
org.pentaho.di.core.exception.KettleException
-
printRepositories
-