Package com.orchestranetworks.addon.dint
Class DataIntegrationExecutor
- java.lang.Object
-
- com.orchestranetworks.addon.dint.DataIntegrationExecutor
-
public abstract class DataIntegrationExecutor extends java.lang.Object
Executes 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 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
execute(EBXTransferTemplateSpec spec)
Performs an EBX transfer task with a given template.abstract DataIntegrationExecutionResults
execute(ExcelExportTemplateSpec spec)
Performs an Excel export task with a given template.abstract DataIntegrationExecutionResults
execute(ExcelImportTemplateSpec spec)
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
getInstance()
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 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:
java.lang.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:
java.lang.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:
java.lang.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:
java.lang.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:
java.lang.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:
java.lang.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:
java.lang.IllegalArgumentException
- if the specification isnull
or invalid.DataIntegrationException
- if an error occurs during the execution.- Since:
- 4.4.0
-
-