com.univocity.api.engine
Interface MappingCycleContext

All Known Subinterfaces:
RowMappingContext

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.

Author:
uniVocity Software Pty Ltd - dev@univocity.com
See Also:
RowReader, RowMappingContext, EntityMappingContext, EngineExecutionContext

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

Method Detail

abortCycle

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.

Parameters:
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.