|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IImportController
Main backend controller for the CPC Imports module.
Can be used to execute clone data imports via registered IImportToolAdapter
s.
An instance can be obtained via CPCImportsPlugin.getImportController()
.
IImportToolAdapter
,
IImportFilterStrategy
Method Summary | |
---|---|
IImportTask |
createTask()
Creates a new empty IImportTask object which can then be filled with the
task configuration options and data. |
org.electrocodeogram.cpc.importexport.api.generic.IGenericStatus |
executeImport(org.eclipse.core.runtime.IProgressMonitor monitor,
IImportTask importTask)
Executes the complete import process using the IImportToolAdapter which corresponds to the given
IImportToolAdapterDescriptor . |
java.util.List<IImportFilterStrategyDescriptor> |
getRegisteredImportFilterStrategies()
Retrieves a list of all currently registered IImportFilterStrategy implementations. |
java.util.List<IImportToolAdapterDescriptor> |
getRegisteredImportToolAdapters()
Retrieves a list of all currently registered IImportToolAdapter implementations. |
Method Detail |
---|
java.util.List<IImportToolAdapterDescriptor> getRegisteredImportToolAdapters()
IImportToolAdapter
implementations.
IImportToolAdapter
implementations, never null.java.util.List<IImportFilterStrategyDescriptor> getRegisteredImportFilterStrategies()
IImportFilterStrategy
implementations.
IImportFilterStrategy
implementations, never null.IImportTask createTask()
IImportTask
object which can then be filled with the
task configuration options and data.
executeImport(IProgressMonitor, IImportTask)
to execute the import task.
org.electrocodeogram.cpc.importexport.api.generic.IGenericStatus executeImport(org.eclipse.core.runtime.IProgressMonitor monitor, IImportTask importTask) throws org.electrocodeogram.cpc.importexport.api.generic.ImportExportConfigurationOptionException, org.electrocodeogram.cpc.importexport.api.generic.ImportExportFailureException, java.lang.InterruptedException
IImportToolAdapter
which corresponds to the given
IImportToolAdapterDescriptor
.
Import Process:
IImportToolAdapter
is called to process these filesIImportFilterStrategy
sIStoreProvider
monitor
- a progress monitor for progress reporting and cancellation, may be NULL.importTask
- the import task to process, never null.
org.electrocodeogram.cpc.importexport.api.generic.ImportExportConfigurationOptionException
- if the given configuration options are illegal.
org.electrocodeogram.cpc.importexport.api.generic.ImportExportFailureException
- if any error occurred during the import process.
java.lang.InterruptedException
- if the import was cancelled by the user.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |