Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.align.transformation.function
Interface TransformationFunction<E extends TransformationEngine>

Type Parameters:
E - the transformation engine type
All Known Subinterfaces:
PropertyTransformation<E>, TypeTransformation<E>
All Known Implementing Classes:
AbstractPropertyTransformation, AbstractSingleTargetPropertyTransformation, AbstractSingleTypeTransformation, AbstractTransformationFunction, AbstractTypeTransformation, Assign, CalculateArea, CalculateLength, Centroid, ClassificationMapping, DateExtraction, FormattedString, GeographicalName, GroovyTransformation, Identifier, Join, MathematicalExpression, Merge, NetworkExpansion, OrdinatesToPoint, Rename, Retype, SequentialID

public interface TransformationFunction<E extends TransformationEngine>

Common interface for all transformation functions

Author:
Simon Templer

Method Summary
 void execute(String transformationIdentifier, E engine, Map<String,String> executionParameters, TransformationLog log)
          Execute the function as configured.
 void setExecutionContext(ExecutionContext executionContext)
          Set the execution context.
 void setParameters(com.google.common.collect.ListMultimap<String,String> parameters)
          Sets the parameters for the transformation.
 

Method Detail

setParameters

void setParameters(com.google.common.collect.ListMultimap<String,String> parameters)
Sets the parameters for the transformation.

Parameters:
parameters - the transformation parameters

setExecutionContext

void setExecutionContext(ExecutionContext executionContext)
Set the execution context.

Parameters:
executionContext - the execution context of the transformation process

execute

void execute(String transformationIdentifier,
             E engine,
             Map<String,String> executionParameters,
             TransformationLog log)
             throws TransformationException
Execute the function as configured.

Parameters:
transformationIdentifier - the transformation function identifier
engine - the transformation engine that may be used for the function execution
executionParameters - additional parameters for the execution, may be null
log - the transformation log to report any information about the execution of the transformation to
Throws:
TransformationException - if an unrecoverable error occurs during transformation

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d