Hyperic HQ Plugin API v. 4.4.0.2

org.hyperic.tools.ant.dbupgrade
Class CounterExportSchemaSpecTask

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.CounterExportSchemaSpecTask

public class CounterExportSchemaSpecTask
extends SchemaSpecTask

Schema upgrade to new 4.2 alerting subsystem. Expirations stored by old "CounterTriggers" must now be written to ExecutionStrategyStates file for initialization of new CounterExecutionStrategy objects. We will not bother writing out expiration times that are already less than current time (though server would handle old expirations properly if we did. CounterExecutionStrategy objects clear expired dates from list before processing)


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
CounterExportSchemaSpecTask()
           
 
Method Summary
 void execute()
           
 void setExportDir(java.lang.String exportDir)
           
 
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

CounterExportSchemaSpecTask

public CounterExportSchemaSpecTask()
Method Detail

setExportDir

public void setExportDir(java.lang.String exportDir)

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

Hyperic HQ Plugin API v. 4.4.0.2

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