org.electrocodeogram.cpc.exports.api.exports.adapter
Interface IExportToolAdapter


public interface IExportToolAdapter

A CPC Exports interface which can be used to contribute export implementations.
An implementation of this interface is likely to be an adapter/wrapper around some kind of mapping tool.

Implementations need to be registered with the CPC Exports extension point org.electrocodeogram.cpc.exports.exportToolAdapters.

Author:
vw

Nested Class Summary
static class IExportToolAdapter.Status
          Return value for processExport(IProgressMonitor, IExportToolAdapterTask, IExportToolAdapterResult).
 
Method Summary
 IExportToolAdapter.Status processExport(org.eclipse.core.runtime.IProgressMonitor monitor, IExportToolAdapterTask exportTask, IExportToolAdapterResult exportResult)
          Executes the clone data export according to the given export task description.
 

Method Detail

processExport

IExportToolAdapter.Status processExport(org.eclipse.core.runtime.IProgressMonitor monitor,
                                        IExportToolAdapterTask exportTask,
                                        IExportToolAdapterResult exportResult)
                                        throws org.electrocodeogram.cpc.importexport.api.generic.ImportExportConfigurationOptionException,
                                               org.electrocodeogram.cpc.importexport.api.generic.ImportExportFailureException,
                                               java.lang.InterruptedException
Executes the clone data export according to the given export task description.

Parameters:
monitor - optional progress monitor, may be null.
exportTask - a description of the export task at hand, never null.
exportResult - an empty result object which will be filled with some statistics, never null.
Returns:
the status of this export, never null.
Throws:
org.electrocodeogram.cpc.importexport.api.generic.ImportExportConfigurationOptionException
org.electrocodeogram.cpc.importexport.api.generic.ImportExportFailureException
java.lang.InterruptedException