Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hyperic.tools.ant.dbupgrade
Class SchemaSpecTask

    java.lang.Object
      org.apache.tools.ant.ProjectComponent
          org.apache.tools.ant.Task
              org.hyperic.tools.ant.dbupgrade.SchemaSpecTask

Direct Known Subclasses:
  CounterExportSchemaSpecTask, CrispoTask, HibernateSchemaSpecTask, SST_AddColumn, SST_AlterColumn, SST_AvailRLEUpgrader, SST_DirectSQL, SST_DropTable, SST_Groovy, SST_Insert, SST_MetricDataUpgrader, SST_RemoveOrphanedResources, SST_Update, SST_UpdateColumn

    public abstract class SchemaSpecTask

extends org.apache.tools.ant.Task

Field Summary
`protected java.lang.String` | `_ctx`

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
`SchemaSpecTask()`

Method Summary
`java.sql.Connection` | `getConnection()`
`java.lang.String` | `getDBSpecificTypeName(java.lang.String typeName)`
`int` | `getDBType()`
`int` | `getDBUtilType()`
`java.sql.Connection` | `getNewConnection()`
`void` | `initialize(java.sql.Connection conn, DBUpgrader upgrader)`
`int` | `translateSqlType(java.lang.String typeName)`

Methods inherited from class org.apache.tools.ant.Task
`execute, 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

### _ctx

    protected java.lang.String _ctx

Constructor Detail

### SchemaSpecTask

    public SchemaSpecTask()

Method Detail

### initialize

    public void initialize(java.sql.Connection conn,
                           DBUpgrader upgrader)

### getConnection

    public java.sql.Connection getConnection()

### getNewConnection

    public java.sql.Connection getNewConnection()
                                         throws java.sql.SQLException

  Throws:
    `java.sql.SQLException`

### getDBType

    public int getDBType()

### getDBUtilType

    public int getDBUtilType()

### translateSqlType

    public int translateSqlType(java.lang.String typeName)
                         throws org.apache.tools.ant.BuildException

  Throws:
    `org.apache.tools.ant.BuildException`

### getDBSpecificTypeName

    public java.lang.String getDBSpecificTypeName(java.lang.String typeName)
                                           throws org.apache.tools.ant.BuildException

  Throws:
    `org.apache.tools.ant.BuildException`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Hyperic HQ Plugin API v. 4.4.0.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2006 Hyperic, Inc. support@hyperic.net, All Rights Reserved.