Interface MappingCycleContext

All Known Subinterfaces:

public interface MappingCycleContext

The MappingCycleContext is available to RowReader instances used during the execution of a data mapping between two entities. It provides information specific to the mapping cycle being executed.

uniVocity Software Pty Ltd -
See Also:
RowReader, RowMappingContext, EntityMappingContext, EngineExecutionContext

Method Summary
 void abortCycle(String reason)
          Aborts the current mapping cycle.

Method Detail


void abortCycle(String reason)
Aborts the current mapping cycle. This will trigger a CycleAbortedException and all active reading/writing processes and associated transactions will be stopped.

reason - the reason message for aborting the mapping cycle. This message will be passed onto the CycleAbortedException.

Copyright © 2015 uniVocity Software Pty Ltd. All rights reserved.