org.apache.cayenne.tools
Class CayenneTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.cayenne.tools.CayenneTask
Direct Known Subclasses:
CayenneGeneratorTask, DataPortTask, DbGeneratorTask, DeploymentConfigurator

public class CayenneTask
extends org.apache.tools.ant.Task

Base task for all Cayenne ant tasks, providing support for common configuration items.

Since:
1.2

Field Summary
protected  org.apache.tools.ant.types.Path classpath
           
 
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
CayenneTask()
           
 
Method Summary
 void setClasspath(org.apache.tools.ant.types.Path path)
          Sets the classpath used by the task.
 void setClasspathRef(org.apache.tools.ant.types.Reference reference)
          Sets the classpath reference used by the task.
 
Methods inherited from class org.apache.tools.ant.Task
execute, 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

classpath

protected org.apache.tools.ant.types.Path classpath
Constructor Detail

CayenneTask

public CayenneTask()
Method Detail

setClasspath

public void setClasspath(org.apache.tools.ant.types.Path path)
Sets the classpath used by the task.

Parameters:
path - The classpath to set.

setClasspathRef

public void setClasspathRef(org.apache.tools.ant.types.Reference reference)
Sets the classpath reference used by the task.

Parameters:
reference - The classpath reference to set.


Copyright © 2001-2008 Apache Cayenne. All Rights Reserved.