org.enableit.db.darrt.ant
Class SchemaImporterTask

java.lang.Object
  |
  +--org.apache.tools.ant.ProjectComponent
        |
        +--org.apache.tools.ant.Task
              |
              +--org.enableit.db.ant.AbstractDBTask
                    |
                    +--org.enableit.db.darrt.ant.AbstractSchemaTask
                          |
                          +--org.enableit.db.darrt.ant.SchemaImporterTask

public class SchemaImporterTask
extends AbstractSchemaTask

Creates the schema with the definitions held in the schema definition XML.

The target database can be defined directly using attributes of this task, or within the target schema XML (The task checks in that order).


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
SchemaImporterTask()
          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, setSchemaName, setTargetDriver, setTargetFile, setTargetPassword, setTargetUrl, setTargetUserid
 
Methods inherited from class org.enableit.db.ant.AbstractDBTask
setDriver, setPassword, setUrl, setUserid
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName
 
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

SchemaImporterTask

public SchemaImporterTask()
Default Constructor.

Method Detail

execute

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

Specified by:
execute in class AbstractSchemaTask
org.apache.tools.ant.BuildException


Copyright © 1999-2004 enableIT.org. All Rights Reserved.