Package com.orchestranetworks.addon.dint
Class DataIntegrationExecutor
- java.lang.Object
-
- com.orchestranetworks.addon.dint.DataIntegrationExecutor
-
public abstract class DataIntegrationExecutor extends java.lang.ObjectExecutes a data integration task.This is the common executor for data export, data import, and data transfer.
- Since:
- 4.1.0
-
-
Constructor Summary
Constructors Constructor Description DataIntegrationExecutor()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract DataIntegrationExecutionResultsexecute(DataIntegrationSpec spec)Performs a data integration task based on the specification.abstract DataIntegrationExecutionResultsexecute(CSVExportTemplateSpec spec)Performs a CSV export task with a given template.abstract DataIntegrationExecutionResultsexecute(CSVImportTemplateSpec spec)Performs a CSV import task with a given template.abstract DataIntegrationExecutionResultsexecute(EBXTransferTemplateSpec spec)Performs an EBX transfer task with a given template.abstract DataIntegrationExecutionResultsexecute(ExcelExportTemplateSpec spec)Performs an Excel export task with a given template.abstract DataIntegrationExecutionResultsexecute(ExcelImportTemplateSpec spec)Performs an Excel import task with a given template.abstract DataIntegrationExecutionResultsexecute(SQLExportTemplateSpec spec)Performs a SQL export task with a given template.abstract DataIntegrationExecutionResultsexecute(SQLImportTemplateSpec spec)Performs an SQL import task with a given template.static DataIntegrationExecutorgetInstance()Returns the instance of the executor.
-
-
-
Method Detail
-
getInstance
public static DataIntegrationExecutor getInstance()
Returns the instance of the executor.- Throws:
java.lang.IllegalStateException- if the add-on is not yet initialized.
-
execute
public abstract DataIntegrationExecutionResults execute(DataIntegrationSpec spec) throws DataIntegrationException
Performs a data integration task based on the specification.- Throws:
java.lang.IllegalArgumentException- if specification isnullor invalid.DataIntegrationException- if an error happens during the execution.
-
execute
public abstract DataIntegrationExecutionResults execute(CSVImportTemplateSpec spec) throws DataIntegrationException
Performs a CSV import task with a given template.- Throws:
java.lang.IllegalArgumentException- if specification isnullor invalid.DataIntegrationException- if an error happens during the execution.
-
execute
public abstract DataIntegrationExecutionResults execute(CSVExportTemplateSpec spec) throws DataIntegrationException
Performs a CSV export task with a given template.- Throws:
java.lang.IllegalArgumentException- if specification isnullor invalid.DataIntegrationException- if an error happens during the execution.
-
execute
public abstract DataIntegrationExecutionResults execute(ExcelImportTemplateSpec spec) throws DataIntegrationException
Performs an Excel import task with a given template.- Throws:
java.lang.IllegalArgumentException- if specification isnullor invalid.DataIntegrationException- if an error happens during the execution.
-
execute
public abstract DataIntegrationExecutionResults execute(ExcelExportTemplateSpec spec) throws DataIntegrationException
Performs an Excel export task with a given template.- Throws:
java.lang.IllegalArgumentException- if specification isnullor invalid.DataIntegrationException- if an error happens during the execution.
-
execute
public abstract DataIntegrationExecutionResults execute(EBXTransferTemplateSpec spec) throws DataIntegrationException
Performs an EBX transfer task with a given template.- Throws:
java.lang.IllegalArgumentException- if specification isnullor invalid.DataIntegrationException- if an error happens during the execution.- Since:
- 4.2.0
-
execute
public abstract DataIntegrationExecutionResults execute(SQLImportTemplateSpec spec) throws DataIntegrationException
Performs an SQL import task with a given template.- Throws:
java.lang.IllegalArgumentException- if the specification isnullor invalid.DataIntegrationException- if an error occurs during the execution.- Since:
- 4.4.0
-
execute
public abstract DataIntegrationExecutionResults execute(SQLExportTemplateSpec spec) throws DataIntegrationException
Performs a SQL export task with a given template.- Throws:
java.lang.IllegalArgumentException- if the specification isnullor invalid.DataIntegrationException- if an error occurs during the execution.- Since:
- 4.4.0
-
-