Class PanTransformationDelegate

java.lang.Object
org.pentaho.di.pan.delegates.PanTransformationDelegate

public class PanTransformationDelegate extends Object
Delegate class for handling transformation execution in command-line contexts (Pan). This class centralizes the execution logic similar to SpoonTransformationDelegate but is designed for non-UI execution environments.
  • Constructor Details

    • PanTransformationDelegate

      public PanTransformationDelegate(org.pentaho.di.core.logging.LogChannelInterface log)
    • PanTransformationDelegate

      public PanTransformationDelegate(org.pentaho.di.core.logging.LogChannelInterface log, Repository repository)
    • PanTransformationDelegate

      public PanTransformationDelegate(org.pentaho.di.core.logging.LogChannelInterface log, Repository repository, Map<String,TransExecutorService> map)
  • Method Details

    • executeTransformation

      public org.pentaho.di.core.Result executeTransformation(Trans trans, TransExecutionConfiguration executionConfiguration, String[] arguments) throws org.pentaho.di.core.exception.KettleException
      Execute a transformation with the specified configuration.
      Parameters:
      trans - the transformation
      executionConfiguration - the execution configuration
      arguments - command line arguments
      Returns:
      the execution result
      Throws:
      org.pentaho.di.core.exception.KettleException - if execution fails
    • createDefaultExecutionConfiguration

      public TransExecutionConfiguration createDefaultExecutionConfiguration()
      Create a default execution configuration for command-line execution.
    • getLog

      public org.pentaho.di.core.logging.LogChannelInterface getLog()
    • setLog

      public void setLog(org.pentaho.di.core.logging.LogChannelInterface log)
    • getRepository

      public Repository getRepository()
    • setRepository

      public void setRepository(Repository repository)