org.dbmaintain.launch.ant
Class BaseAntTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.dbmaintain.launch.ant.BaseAntTask
Direct Known Subclasses:
BaseDatabaseAntTask, CreateScriptArchiveAntTask

public abstract class BaseAntTask
extends org.apache.tools.ant.Task

Base DbMaintain task

Author:
Filip Neven, Tim Ducheyne

Field Summary
 
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
BaseAntTask()
           
 
Method Summary
protected abstract  DbMaintainTask createDbMaintainTask()
           
 void execute()
           
protected  Properties getAntProperties()
           
protected  File getCustomConfigFile()
           
 void setConfigFile(String configFile)
           
 
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

BaseAntTask

public BaseAntTask()
Method Detail

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

createDbMaintainTask

protected abstract DbMaintainTask createDbMaintainTask()

getCustomConfigFile

protected File getCustomConfigFile()
Returns:
The custom configuration file, null if no file name was set

getAntProperties

protected Properties getAntProperties()

setConfigFile

public void setConfigFile(String configFile)


Copyright © 2011. All Rights Reserved.