ome.tools
Class DbUpdateTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.tools.ant.taskdefs.JDBCTask
              extended by org.apache.tools.ant.taskdefs.SQLExec
                  extended by ome.tools.DbUpdateTask

public class DbUpdateTask
extends org.apache.tools.ant.taskdefs.SQLExec

An ant task for checking the current database version. Under construction.

Author:
Josh Moore, josh at glencoesoftware.com

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.tools.ant.taskdefs.SQLExec
org.apache.tools.ant.taskdefs.SQLExec.DelimiterType, org.apache.tools.ant.taskdefs.SQLExec.OnError, org.apache.tools.ant.taskdefs.SQLExec.Transaction
 
Field Summary
protected  String _driver
           
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
DbUpdateTask()
           
 
Method Summary
 void execute()
           
 void setDriver(String driver)
           
 void setSqldir(File dir)
           
 
Methods inherited from class org.apache.tools.ant.taskdefs.SQLExec
addFileset, addText, createTransaction, execSQL, printResults, printResults, runStatements, setAppend, setDelimiter, setDelimiterType, setEncoding, setEscapeProcessing, setKeepformat, setOnerror, setOutput, setPrint, setShowheaders, setSrc
 
Methods inherited from class org.apache.tools.ant.taskdefs.JDBCTask
createClasspath, getClasspath, getConnection, getLoader, getLoaderMap, getPassword, getRdbms, getUrl, getUserId, getVersion, isAutocommit, isCaching, isValidRdbms, setAutocommit, setCaching, setClasspath, setClasspathRef, setPassword, setRdbms, setUrl, setUserid, setVersion
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_driver

protected String _driver
Constructor Detail

DbUpdateTask

public DbUpdateTask()
Method Detail

setDriver

public void setDriver(String driver)
Overrides:
setDriver in class org.apache.tools.ant.taskdefs.JDBCTask

setSqldir

public void setSqldir(File dir)

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.taskdefs.SQLExec
Throws:
org.apache.tools.ant.BuildException


OmeroJava Api

Version: Beta-4.1.1-r5927-b91

Copyright © 2009 The University of Dundee. All Rights Reserved.