Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.enableit.db.darrt.ant
Class ChangeTargetTask  view ChangeTargetTask download ChangeTargetTask.java

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.enableit.db.ant.AbstractDBTask
              extended byorg.enableit.db.darrt.ant.AbstractSchemaTask
                  extended byorg.enableit.db.darrt.ant.ChangeTargetTask

public class ChangeTargetTask
extends AbstractSchemaTask

Changes the values defining the target database in the provider element of the schema definition XML.


Field Summary
static java.lang.String about
          CVS info about this class and its current version
protected static org.apache.log4j.Logger logger
          The Log4J Logger doing the logging.
 
Fields inherited from class org.enableit.db.darrt.ant.AbstractSchemaTask
refFile, refProvider, targetDriver, targetFile, targetPassword, targetProvider, targetSchemaName, targetUrl, targetUserid
 
Fields inherited from class org.enableit.db.ant.AbstractDBTask
driver, password, schemaName, url, userid
 
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
ChangeTargetTask()
          Default Constructor.
 
Method Summary
 void execute()
          Creates the schema.
 
Methods inherited from class org.enableit.db.darrt.ant.AbstractSchemaTask
addFormatter, checkInputs, checkRefInputs, checkTargetInputs, getFormatters, getReferenceProvider, getReportListeners, getSchemaHandler, getTargetProvider, setReferenceFile, setTargetDriver, setTargetFile, setTargetPassword, setTargetSchemaName, setTargetUrl, setTargetUserid
 
Methods inherited from class org.enableit.db.ant.AbstractDBTask
setDriver, setPassword, setSchemaName, setUrl, setUserid
 
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
 

Field Detail

logger

protected static org.apache.log4j.Logger logger
The Log4J Logger doing the logging.


about

public static final java.lang.String about
CVS info about this class and its current version

See Also:
Constant Field Values
Constructor Detail

ChangeTargetTask

public ChangeTargetTask()
Default Constructor.

Method Detail

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Creates the schema.

Specified by:
execute in class AbstractSchemaTask