Class PanCommandExecutor


public class PanCommandExecutor extends AbstractBaseCommandExecutor
  • Constructor Details

    • PanCommandExecutor

      public PanCommandExecutor(Class<?> pkgClazz)
    • PanCommandExecutor

      public PanCommandExecutor(Class<?> pkgClazz, org.pentaho.di.core.logging.LogChannelInterface log)
  • Method Details

    • execute

      public org.pentaho.di.core.Result execute(Params params) throws Throwable
      Throws:
      Throwable
    • execute

      public org.pentaho.di.core.Result execute(Params params, String[] arguments) throws Throwable
      Throws:
      Throwable
    • exitWithStatus

      protected org.pentaho.di.core.Result exitWithStatus(int exitStatus, Trans trans)
    • 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 object
      optionParams - the list of parameters to set for the transformation
      transMeta - 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

      protected void printRepositories(RepositoriesMeta repositoriesMeta)