Package com.orchestranetworks.addon.dint
Class DataIntegrationExecutor
java.lang.Object
com.orchestranetworks.addon.dint.DataIntegrationExecutor
Executes a data integration task.
This is the common executor for data export, data import, and data transfer.
- Since:
- 4.1.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract DataIntegrationExecutionResults
execute
(DataIntegrationSpec spec) Performs a data integration task based on the specification.abstract DataIntegrationExecutionResults
execute
(CSVExportTemplateSpec spec) Performs a CSV export task with a given template.abstract DataIntegrationExecutionResults
execute
(CSVImportTemplateSpec spec) Performs a CSV import task with a given template.abstract DataIntegrationExecutionResults
Performs an EBX transfer task with a given template.abstract DataIntegrationExecutionResults
Performs an Excel export task with a given template.abstract DataIntegrationExecutionResults
Performs an Excel import task with a given template.abstract DataIntegrationExecutionResults
execute
(SQLExportTemplateSpec spec) Performs a SQL export task with a given template.abstract DataIntegrationExecutionResults
execute
(SQLImportTemplateSpec spec) Performs an SQL import task with a given template.static DataIntegrationExecutor
Returns the instance of the executor.
-
Constructor Details
-
DataIntegrationExecutor
public DataIntegrationExecutor()
-
-
Method Details
-
getInstance
Returns the instance of the executor.- Throws:
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:
IllegalArgumentException
- if specification isnull
or 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:
IllegalArgumentException
- if specification isnull
or 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:
IllegalArgumentException
- if specification isnull
or 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:
IllegalArgumentException
- if specification isnull
or 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:
IllegalArgumentException
- if specification isnull
or 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:
IllegalArgumentException
- if specification isnull
or 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:
IllegalArgumentException
- if the specification isnull
or 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:
IllegalArgumentException
- if the specification isnull
or invalid.DataIntegrationException
- if an error occurs during the execution.- Since:
- 4.4.0
-