Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.tools.ant.dbupgrade
Class SST_DirectSQL

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

public class SST_DirectSQL
extends SchemaSpecTask


Nested Class Summary
 class SST_DirectSQL.Statement
           
 class SST_DirectSQL.VerifySchema
           
 
Field Summary
 
Fields inherited from class org.hyperic.tools.ant.dbupgrade.SchemaSpecTask
_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
SST_DirectSQL()
           
 
Method Summary
 SST_DirectSQL.Statement createStatement()
           
 SST_DirectSQL.VerifySchema createVerifySchema()
           
 void execute()
           
 int getNextId(java.lang.String table)
          Get the next available ID from the given table.
 
Methods inherited from class org.hyperic.tools.ant.dbupgrade.SchemaSpecTask
getConnection, getDBSpecificTypeName, getDBType, getDBUtilType, getNewConnection, initialize, translateSqlType
 
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
 

Constructor Detail

SST_DirectSQL

public SST_DirectSQL()
Method Detail

getNextId

public int getNextId(java.lang.String table)
Get the next available ID from the given table.

Parameters:
table - The table to get the next ID from.

execute

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

createVerifySchema

public SST_DirectSQL.VerifySchema createVerifySchema()

createStatement

public SST_DirectSQL.Statement createStatement()

Hyperic HQ Plugin API v. 4.4.0.2

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