eu.etaxonomy.cdm.database.update
Interface ISchemaUpdater
- All Superinterfaces:
- IUpdater<ISchemaUpdater>
- All Known Implementing Classes:
- SchemaUpdater_24_25, SchemaUpdater_25_30, SchemaUpdater_30_301, SchemaUpdater_301_31, SchemaUpdaterBase
public interface ISchemaUpdater
- extends IUpdater<ISchemaUpdater>
- Author:
- a.mueller
invoke
boolean invoke(ICdmDataSource datasource,
IProgressMonitor monitor)
throws Exception
- Invokes this CDM schema updater and updates the schema up to the current CDM
schema version. Throws an exception if this updater's target version does
not equal the current CDM schema version.
- Specified by:
invoke in interface IUpdater<ISchemaUpdater>
- Parameters:
datasource - the datasourcemonitor - the progress monitor and event listener
- Returns:
-
- Throws:
Exception
invoke
boolean invoke(String targetVersion,
ICdmDataSource datasource,
IProgressMonitor monitor)
throws Exception
- Invokes this CDM schema updater and updates the schema up to the given
target version. Throws an exception if this updaters target version does
not equal the given target version.
- Specified by:
invoke in interface IUpdater<ISchemaUpdater>
- Parameters:
targetVersion - datasource - the datasourcemonitor - the progress monitor and event listener
- Returns:
-
- Throws:
Exception
getTargetVersion
String getTargetVersion()
Copyright © 2007-2013 EDIT. All Rights Reserved.