3 * Copyright (C) 2009 EDIT
4 * European Distributed Institute of Taxonomy
5 * http://www.e-taxonomy.eu
7 * The contents of this file are subject to the Mozilla Public License Version 1.1
8 * See LICENSE.TXT at the top of this package for the full license terms.
10 package eu
.etaxonomy
.cdm
.database
.update
;
12 import java
.sql
.SQLException
;
14 import org
.apache
.log4j
.Logger
;
16 import eu
.etaxonomy
.cdm
.common
.IProgressMonitor
;
17 import eu
.etaxonomy
.cdm
.database
.ICdmDataSource
;
24 public abstract class SchemaUpdaterStepBase
implements ISchemaUpdaterStep
{
25 @SuppressWarnings("unused")
26 private static final Logger logger
= Logger
.getLogger(SchemaUpdaterStepBase
.class);
28 private String stepName
;
31 //************************ CONSTRUCTOR ***********************************/
33 protected SchemaUpdaterStepBase(String stepName
){
34 this.setStepName(stepName
);
38 * @see eu.etaxonomy.cdm.database.update.ISchemaUpdaterStep#invoke(eu.etaxonomy.cdm.database.ICdmDataSource, eu.etaxonomy.cdm.common.IProgressMonitor)
40 public abstract boolean invoke (ICdmDataSource datasource
, IProgressMonitor monitor
) throws SQLException
;
43 * @see eu.etaxonomy.cdm.database.update.ISchemaUpdaterStep#setStepName(java.lang.String)
45 public void setStepName(String stepName
) {
46 this.stepName
= stepName
;
50 * @see eu.etaxonomy.cdm.database.update.ISchemaUpdaterStep#getStepName()
52 public String
getStepName() {