| Constructor and Description |
|---|
ProgramExecutor() |
| Modifier and Type | Method and Description |
|---|---|
static void |
initializeDeployer(String DTS_LIBS_PATH)
Initializes the
DTSProgramDeployer. |
static void |
transformDataWithProgram(ArrayList<DataSource> sources,
Transformer transformer,
List<Parameter> programParameters,
ContentType targetContentType,
DataSink sink)
Loads and executes the
Program contained in the Transformer. |
public static void initializeDeployer(String DTS_LIBS_PATH) throws Exception
DTSProgramDeployer.DTS_LIBS_PATH - The path in which the deployer will put the Program's jar files.Exception - If an error occurs in initialization of the DTSProgramDeployer.public static void transformDataWithProgram(ArrayList<DataSource> sources, Transformer transformer, List<Parameter> programParameters, ContentType targetContentType, DataSink sink) throws Exception
Program contained in the Transformer.sources - The DataSources from which the Program will get DataElements.transformer - The Transformer which contains the Program that will execute the transformationUnit.programParameters - The Parameters which will be passed to the Program.targetContentType - The ContentType to which the Program will transform the DataElements.sink - The DataSink in which the Program will store the transformed DataElements.Exception - If an error occurred in loading the Program.Copyright © 2014. All Rights Reserved.