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
All Implemented Interfaces:
Cloneable

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
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, 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
add, addFileset, addText, createTransaction, execSQL, getConnection, getExpandProperties, getStatement, lastDelimiterPosition, printResults, printResults, runStatements, setAppend, setCsvColumnSeparator, setCsvQuoteCharacter, setDelimiter, setDelimiterType, setEncoding, setErrorProperty, setErrorProperty, setEscapeProcessing, setExpandProperties, setKeepformat, setOnerror, setOutput, setOutput, setPrint, setRawBlobs, setRowCountProperty, setRowCountProperty, setShowheaders, setShowtrailers, setShowWarnings, setSrc, setStrictDelimiterMatching, setTreatWarningsAsErrors, setWarningProperty, setWarningProperty
 
Methods inherited from class org.apache.tools.ant.taskdefs.JDBCTask
addConnectionProperty, createClasspath, getClasspath, getLoader, getLoaderMap, getPassword, getRdbms, getUrl, getUserId, getVersion, isAutocommit, isCaching, isValidRdbms, setAutocommit, setCaching, setClasspath, setClasspathRef, setFailOnConnectionError, setPassword, setRdbms, setUrl, setUserid, setVersion
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
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: Beta4.2.1-r8614-Beta4.2-b41

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