public class AnnogenTask
extends org.apache.tools.ant.Task
Constructor and Description |
---|
AnnogenTask() |
Modifier and Type | Method and Description |
---|---|
void |
addMapping(AnnoBeanMapping m) |
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 |
setDestDir(java.io.File f)
Sets the directory into which source files should be generated.
|
void |
setImplementAnnotationTypes(boolean b) |
void |
setIncludes(java.lang.String includes)
Includes source files matching the given patten.
|
void |
setInputEncoding(java.lang.String encoding) |
void |
setKeepGenerated(boolean b) |
void |
setOutputEncoding(java.lang.String encoding) |
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) |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void setDestDir(java.io.File f)
f
- public void setSrcdir(org.apache.tools.ant.types.Path srcDir)
public void setIncludes(java.lang.String includes)
public void setImplementAnnotationTypes(boolean b)
public void setToolpath(org.apache.tools.ant.types.Path path)
public void setToolpathRef(org.apache.tools.ant.types.Reference r)
public org.apache.tools.ant.types.Path createToolpath()
public void setClasspath(org.apache.tools.ant.types.Path path)
public void setClasspathRef(org.apache.tools.ant.types.Reference r)
public org.apache.tools.ant.types.Path createClasspath()
public void addMapping(AnnoBeanMapping m)
public void setKeepGenerated(boolean b)
public void setInputEncoding(java.lang.String encoding)
public void setOutputEncoding(java.lang.String encoding)
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException