public abstract class AbstractBaseCommandExecutor extends Object
| 构造器和说明 |
|---|
AbstractBaseCommandExecutor() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected int |
calculateAndPrintElapsedTime(Date start,
Date stop,
String startStopMsgTkn,
String processingEndAfterMsgTkn,
String processingEndAfterLongMsgTkn,
String processingEndAfterLongerMsgTkn,
String processingEndAfterLongestMsgTkn) |
protected String[] |
convert(Map<String,String> map) |
org.pentaho.metastore.stores.delegate.DelegatingMetaStore |
createDefaultMetastore() |
File |
decodeBase64ToZipFile(Serializable base64Zip,
boolean deleteOnJvmExit)
Decodes the provided base64String into a default path.
|
File |
decodeBase64ToZipFile(Serializable base64Zip,
String filePath)
Decodes the provided base64String into the specified filePath.
|
Repository |
establishRepositoryConnection(RepositoryMeta repositoryMeta,
String username,
String password,
RepositoryOperation... operations) |
protected org.pentaho.di.core.Result |
exitWithStatus(int exitStatus) |
SimpleDateFormat |
getDateFormat() |
org.pentaho.di.core.logging.LogChannelInterface |
getLog() |
org.pentaho.metastore.stores.delegate.DelegatingMetaStore |
getMetaStore() |
Class<?> |
getPkgClazz() |
org.pentaho.di.core.Result |
getResult() |
boolean |
isEnabled(String value) |
RepositoryMeta |
loadRepositoryConnection(String repoName,
String loadingAvailableRepMsgTkn,
String noRepsDefinedMsgTkn,
String findingRepMsgTkn) |
org.pentaho.di.repository.RepositoryDirectoryInterface |
loadRepositoryDirectory(Repository repository,
String dirName,
String noRepoProvidedMsgTkn,
String allocateAndConnectRepoMsgTkn,
String cannotFindDirMsgTkn) |
RepositoriesMeta |
loadRepositoryInfo(String loadingAvailableRepMsgTkn,
String noRepsDefinedMsgTkn) |
protected void |
logDebug(String messageKey) |
protected void |
logDebug(String messageKey,
String... messageTokens) |
protected void |
printParameter(String name,
String value,
String defaultValue,
String description) |
void |
printRepositoryDirectories(Repository repository,
org.pentaho.di.repository.RepositoryDirectoryInterface directory) |
protected void |
printVersion(String kettleVersionMsgTkn) |
void |
setDateFormat(SimpleDateFormat dateFormat) |
void |
setLog(org.pentaho.di.core.logging.LogChannelInterface log) |
void |
setMetaStore(org.pentaho.metastore.stores.delegate.DelegatingMetaStore metaStore) |
void |
setPkgClazz(Class<?> pkgClazz) |
void |
setResult(org.pentaho.di.core.Result result) |
protected org.pentaho.di.core.Result exitWithStatus(int exitStatus)
public org.pentaho.metastore.stores.delegate.DelegatingMetaStore createDefaultMetastore()
throws org.pentaho.metastore.api.exceptions.MetaStoreException
org.pentaho.metastore.api.exceptions.MetaStoreExceptionprotected void logDebug(String messageKey)
protected int calculateAndPrintElapsedTime(Date start, Date stop, String startStopMsgTkn, String processingEndAfterMsgTkn, String processingEndAfterLongMsgTkn, String processingEndAfterLongerMsgTkn, String processingEndAfterLongestMsgTkn)
protected void printVersion(String kettleVersionMsgTkn)
public RepositoryMeta loadRepositoryConnection(String repoName, String loadingAvailableRepMsgTkn, String noRepsDefinedMsgTkn, String findingRepMsgTkn) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic RepositoriesMeta loadRepositoryInfo(String loadingAvailableRepMsgTkn, String noRepsDefinedMsgTkn) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic org.pentaho.di.repository.RepositoryDirectoryInterface loadRepositoryDirectory(Repository repository, String dirName, String noRepoProvidedMsgTkn, String allocateAndConnectRepoMsgTkn, String cannotFindDirMsgTkn) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic Repository establishRepositoryConnection(RepositoryMeta repositoryMeta, String username, String password, RepositoryOperation... operations) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionpublic void printRepositoryDirectories(Repository repository, org.pentaho.di.repository.RepositoryDirectoryInterface directory) throws org.pentaho.di.core.exception.KettleException
org.pentaho.di.core.exception.KettleExceptionprotected void printParameter(String name, String value, String defaultValue, String description)
public boolean isEnabled(String value)
public File decodeBase64ToZipFile(Serializable base64Zip, boolean deleteOnJvmExit) throws IOException
base64Zip - BASE64 representation of a filedeleteOnJvmExit - true if we want this newly generated file to be marked for deletion on JVM termination, false otherwiseIOExceptionpublic File decodeBase64ToZipFile(Serializable base64Zip, String filePath) throws IOException
base64Zip - BASE64 representation of a filefilePath - String The path to which the base64String is to be decodedIOExceptionpublic org.pentaho.di.core.logging.LogChannelInterface getLog()
public void setLog(org.pentaho.di.core.logging.LogChannelInterface log)
public Class<?> getPkgClazz()
public void setPkgClazz(Class<?> pkgClazz)
public org.pentaho.metastore.stores.delegate.DelegatingMetaStore getMetaStore()
public void setMetaStore(org.pentaho.metastore.stores.delegate.DelegatingMetaStore metaStore)
public SimpleDateFormat getDateFormat()
public void setDateFormat(SimpleDateFormat dateFormat)
public org.pentaho.di.core.Result getResult()
public void setResult(org.pentaho.di.core.Result result)
Copyright © 2024 Hitachi Vantara. All rights reserved.