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

Quick Search    Search Deep

org.enableit.db.darrt.ant
Class SchemaImporterTask  view SchemaImporterTask download SchemaImporterTask.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.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, 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

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