Package adams.db.upgrade
Class PassThrough
-
- All Implemented Interfaces:
Destroyable
,GlobalInfoSupporter
,LoggingLevelHandler
,LoggingSupporter
,OptionHandler
,SizeOfHandler
,DatabaseConnectionHandler
,DatabaseConnectionProvider
,DatabaseConnectionUser
,Serializable
public class PassThrough extends AbstractTableUpgrade
A dummy upgrader, does nothing.
Valid options are:
-D (property: debug) If set to true, scheme may output additional info to the console.
- Version:
- $Revision$
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class adams.db.upgrade.AbstractTableUpgrade
m_Connection, m_Upgraded, m_UpgradeInfo
-
Fields inherited from class adams.core.option.AbstractOptionHandler
m_OptionManager
-
Fields inherited from class adams.core.logging.LoggingObject
m_Logger, m_LoggingIsEnabled, m_LoggingLevel
-
-
Constructor Summary
Constructors Constructor Description PassThrough()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doUpgrade()
Does nothing.String
globalInfo()
Returns a string describing the object.-
Methods inherited from class adams.db.upgrade.AbstractTableUpgrade
addInfo, forCommandLine, forName, getDatabaseConnection, getUpgraders, initialize, postUpgrade, preUpgrade, reset, setDatabaseConnection, upgrade
-
Methods inherited from class adams.core.option.AbstractOptionHandler
cleanUpOptions, defineOptions, destroy, finishInit, getDefaultLoggingLevel, getOptionManager, loggingLevelTipText, newOptionManager, setLoggingLevel, toCommandLine, toString
-
Methods inherited from class adams.core.logging.LoggingObject
configureLogger, getLogger, getLoggingLevel, initializeLogging, isLoggingEnabled, sizeOf
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface adams.core.logging.LoggingLevelHandler
getLoggingLevel
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
Returns a string describing the object.- Specified by:
globalInfo
in interfaceGlobalInfoSupporter
- Specified by:
globalInfo
in classAbstractTableUpgrade
- Returns:
- a description suitable for displaying in the gui
-
doUpgrade
protected void doUpgrade()
Does nothing.- Specified by:
doUpgrade
in classAbstractTableUpgrade
-
-