Package org.pentaho.di.kitchen
Class KitchenCommandExecutor
java.lang.Object
org.pentaho.di.base.AbstractBaseCommandExecutor
org.pentaho.di.kitchen.KitchenCommandExecutor
-
Field Summary
Fields inherited from class org.pentaho.di.base.AbstractBaseCommandExecutor
YES
-
Constructor Summary
ConstructorDescriptionKitchenCommandExecutor
(Class<?> pkgClazz) KitchenCommandExecutor
(Class<?> pkgClazz, org.pentaho.di.core.logging.LogChannelInterface log) KitchenCommandExecutor
(Class<?> pkgClazz, org.pentaho.di.core.logging.LogChannelInterface log, Future<org.pentaho.di.core.exception.KettleException> kettleInit) -
Method Summary
Modifier and TypeMethodDescriptionorg.pentaho.di.core.Result
org.pentaho.di.core.Result
protected void
executeRepositoryBasedCommand
(Repository repository, String dirName, String listJobs, String listDirs) protected org.pentaho.di.core.Result
exitWithStatus
(int exitStatus, Job job) Future<org.pentaho.di.core.exception.KettleException>
loadJobFromFilesystem
(String initialDir, String filename, Serializable base64Zip) loadJobFromRepository
(Repository repository, String dirName, String jobName) protected void
printJobParameters
(Job job) protected void
printRepositories
(RepositoriesMeta repositoriesMeta) protected void
printRepositoryStoredJobs
(Repository repository, org.pentaho.di.repository.RepositoryDirectoryInterface directory) int
void
setKettleInit
(Future<org.pentaho.di.core.exception.KettleException> kettleInit) 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
-
KitchenCommandExecutor
-
KitchenCommandExecutor
public KitchenCommandExecutor(Class<?> pkgClazz, org.pentaho.di.core.logging.LogChannelInterface log) -
KitchenCommandExecutor
-
-
Method Details
-
execute
- Throws:
Throwable
-
execute
- Throws:
Throwable
-
exitWithStatus
-
printVersion
public int printVersion() -
executeRepositoryBasedCommand
protected void executeRepositoryBasedCommand(Repository repository, String dirName, String listJobs, String listDirs) throws Exception - Throws:
Exception
-
loadJobFromRepository
public Job loadJobFromRepository(Repository repository, String dirName, String jobName) throws Exception - Throws:
Exception
-
loadJobFromFilesystem
public Job loadJobFromFilesystem(String initialDir, String filename, Serializable base64Zip) throws Exception - Throws:
Exception
-
printJobParameters
protected void printJobParameters(Job job) throws org.pentaho.di.core.parameters.UnknownParamException - Throws:
org.pentaho.di.core.parameters.UnknownParamException
-
printRepositoryStoredJobs
protected void printRepositoryStoredJobs(Repository repository, org.pentaho.di.repository.RepositoryDirectoryInterface directory) throws org.pentaho.di.core.exception.KettleException - Throws:
org.pentaho.di.core.exception.KettleException
-
printRepositories
-
getKettleInit
-
setKettleInit
-