org.codehaus.annogen.generate
Class AnnogenTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.codehaus.annogen.generate.AnnogenTask

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

Ant task which generates AnnoBeans.

Author:
Patrick Calahan <email: codehaus-at-bea-dot-com>

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
AnnogenTask()
           
 
Method Summary
 org.apache.tools.ant.types.Path createClasspath()
           
 org.apache.tools.ant.types.Path createToolpath()
           
 void execute()
           
 void setClasspath(org.apache.tools.ant.types.Path path)
           
 void setClasspathRef(org.apache.tools.ant.types.Reference r)
           
 void setImplementAnnotationTypes(boolean b)
           
 void setIncludes(java.lang.String includes)
          Includes source files matching the given patten.
 void setOutputDir(java.io.File f)
          Sets the directory into which source files should be generated.
 void setSrcdir(org.apache.tools.ant.types.Path srcDir)
          Set the source directories to find the source Java files.
 void setToolpath(org.apache.tools.ant.types.Path path)
           
 void setToolpathRef(org.apache.tools.ant.types.Reference r)
           
 
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

AnnogenTask

public AnnogenTask()
Method Detail

setOutputDir

public void setOutputDir(java.io.File f)
Sets the directory into which source files should be generated.

Parameters:
f -

setSrcdir

public void setSrcdir(org.apache.tools.ant.types.Path srcDir)
Set the source directories to find the source Java files.


setIncludes

public void setIncludes(java.lang.String includes)
Includes source files matching the given patten. Pattern is relative to srcDir.


setImplementAnnotationTypes

public void setImplementAnnotationTypes(boolean b)

setToolpath

public void setToolpath(org.apache.tools.ant.types.Path path)

setToolpathRef

public void setToolpathRef(org.apache.tools.ant.types.Reference r)

createToolpath

public org.apache.tools.ant.types.Path createToolpath()

setClasspath

public void setClasspath(org.apache.tools.ant.types.Path path)

setClasspathRef

public void setClasspathRef(org.apache.tools.ant.types.Reference r)

createClasspath

public org.apache.tools.ant.types.Path createClasspath()

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