1 package eu
.etaxonomy
.cdm
.database
.update
;
3 import eu
.etaxonomy
.cdm
.common
.IProgressMonitor
;
4 import eu
.etaxonomy
.cdm
.database
.ICdmDataSource
;
6 public interface ITermUpdater
{
9 * Invokes this CDM term updater
12 boolean invoke(ICdmDataSource datasource
, IProgressMonitor monitor
);
14 * Returns the previous CDM term updater
17 public ITermUpdater
getPreviousUpdater();
20 * Returns the next CDM term updater
23 public ITermUpdater
getNextUpdater();
26 * Returns the number of steps to run to update the datasource
27 * to the term version this term updater is updating to.
28 * This includes needed steps in previous updaters.
29 * @see #getPreviousUpdater()
30 * @return number of steps
32 int countSteps(ICdmDataSource datasource
);