Interface Transformation<T extends TransformationExecutionContext>
-
- All Known Subinterfaces:
AggregationTransformation
public interface Transformation<T extends TransformationExecutionContext>
Deprecated.Since 2.3.0, replaced byTransformation
.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 one time when calling the import, export or transfer data services. - The
setup(TransformationConfigurationContext)
method is called for the new instance.
- The specified class is instantiated through its
- During the operational phase of import/export/transfer, the
execute(TransformationExecutionContext)
method is called each time an associated source field on source record has to be imported/exported/transfered to target field of target record.
- Since:
- 2.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.Object
execute(T executionContext)
Deprecated.Executes the transformation.void
setup(TransformationConfigurationContext configurationContext)
Deprecated.Checks and prepares this instance.
-
-
-
Method Detail
-
setup
void setup(TransformationConfigurationContext configurationContext) throws DataExchangeException
Deprecated.Checks and prepares this instance.- Throws:
DataExchangeException
-
execute
java.lang.Object execute(T executionContext) throws DataExchangeException
Deprecated.Executes the transformation.Multi-threading
For a single instance of this interface, this method may be called concurrently by several threads.- Throws:
DataExchangeException
-
-