Package org.pentaho.di.pan.delegates
Class PanTransformationDelegate
java.lang.Object
org.pentaho.di.pan.delegates.PanTransformationDelegate
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 Summary
ConstructorsConstructorDescriptionPanTransformationDelegate(org.pentaho.di.core.logging.LogChannelInterface log) PanTransformationDelegate(org.pentaho.di.core.logging.LogChannelInterface log, Repository repository) PanTransformationDelegate(org.pentaho.di.core.logging.LogChannelInterface log, Repository repository, Map<String, TransExecutorService> map) -
Method Summary
Modifier and TypeMethodDescriptionCreate a default execution configuration for command-line execution.org.pentaho.di.core.ResultexecuteTransformation(Trans trans, TransExecutionConfiguration executionConfiguration, String[] arguments) Execute a transformation with the specified configuration.org.pentaho.di.core.logging.LogChannelInterfacegetLog()voidsetLog(org.pentaho.di.core.logging.LogChannelInterface log) voidsetRepository(Repository repository)
-
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 transformationexecutionConfiguration- the execution configurationarguments- command line arguments- Returns:
- the execution result
- Throws:
org.pentaho.di.core.exception.KettleException- if execution fails
-
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
-
setRepository
-