Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.common.align.transformation.function
Interface ExecutionContext


public interface ExecutionContext

Execution context of a transformation process. The information put into the execution context is held for the whole transformation process. It can be used by transformation functions to share information. For implementations please be aware that if the transformation may be executed in multiple threads, the getters defined here as well as the returned maps have to use mechanisms to ensure their consistency (e.g. locking/synchronization).

Author:
Simon Templer

Method Summary
 Map<Object,Object> getCellContext()
          Get the execution context for the cell associated to the executed function.
 Map<Object,Object> getFunctionContext()
          Get the execution context for the executed function.
 Map<Object,Object> getTransformationContext()
          Get the overall transformation execution context.
 

Method Detail

getCellContext

Map<Object,Object> getCellContext()
Get the execution context for the cell associated to the executed function. This context is shared only between function executions handling this cell. When invoking multiple operations on the context map, make sure to use synchronization if appropriate.

Returns:
the cell context map

getFunctionContext

Map<Object,Object> getFunctionContext()
Get the execution context for the executed function. This context is shared between functions of the same type. When invoking multiple operations on the context map, make sure to use synchronization if appropriate.

Returns:
the function context map

getTransformationContext

Map<Object,Object> getTransformationContext()
Get the overall transformation execution context. This context is shared between all functions of the same type. When invoking multiple operations on the context map, make sure to use synchronization if appropriate.

Returns:
the function context map

Humboldt Alignment Editor 2.5.0

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