Interface Transformation<T extends TransformationExecutionContext>
- All Known Subinterfaces:
AggregationTransformation
public interface Transformation<T extends TransformationExecutionContext>
Provides transformation methods.
Life cycle
When import, export, or transfer services are called:
- The specified class is instantiated through its
TransformationDefinition
. It is initialized only once when calling the import, export, or transfer services. - The
setup(TransformationConfigurationContext)
method is called for the new instance.
During the import/export/transfer operational phase, the execute(TransformationExecutionContext)
method is called each time an associated source field must be imported/exported/transferred to the target field.
- Since:
- 2.3.0
-
Method Summary
Modifier and TypeMethodDescriptionExecutes the transformation.void
setup
(TransformationConfigurationContext configurationContext) Checks and prepares this instance.
-
Method Details
-
setup
Checks and prepares this instance.- Throws:
DataExchangeException
-
execute
Executes the transformation.Multi-threading
For a single instance of this interface, this method may be called concurrently by several threads.- Throws:
DataExchangeException
-