Class PanCommandExecutor

    • Constructor Detail

      • PanCommandExecutor

        public PanCommandExecutor​(Class<?> pkgClazz)
      • PanCommandExecutor

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

      • exitWithStatus

        protected org.pentaho.di.core.Result exitWithStatus​(int exitStatus,
                                                            Trans trans)
      • printVersion

        public int printVersion()
      • 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)