|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
com.thoughtworks.paranamer.ant.ParanamerTask
public class ParanamerTask
Ant Task to process parameter names. This ant task facilitates the
specification of the java source and class files to process as attributes,
nested file sets or a combination of both. The attributes applicable to
this ant task include a source directory, class directory, include pattern
and exclude pattern. i.e.:
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.Task |
---|
target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
description, location, project |
Constructor Summary | |
---|---|
ParanamerTask()
|
Method Summary | |
---|---|
void |
addFileset(org.apache.tools.ant.types.FileSet fileset)
Called automatically by ant when an embedded fileset element is present. |
void |
execute()
Execute the task. |
protected QdoxParanamerGenerator |
makeQdoxParanamerGenerator()
Provide this as a method so that it can be overridden and custom QdoxParanamerGenerators can be returned in place of the default. |
void |
setClassdir(String classdir)
Called automatically by ant when the classdir attribute is present. |
void |
setExcludes(String excludes)
Called automatically by ant when the excludes attribute is present. |
void |
setIncludes(String includes)
Called automatically by ant when the includes attribute is present. |
void |
setSrcdir(String srcdir)
Called automatically by ant when the srcdir attribute is present. |
Methods inherited from class org.apache.tools.ant.Task |
---|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ParanamerTask()
Method Detail |
---|
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
public void addFileset(org.apache.tools.ant.types.FileSet fileset)
fileset
- the fileset specificationpublic void setSrcdir(String srcdir)
srcdir
- the content of the srcdir attribute.public void setIncludes(String includes)
includes
- the content of the includes attribute.public void setExcludes(String excludes)
excludes
- the content of the excludes attribute.public void setClassdir(String classdir)
classdir
- the content of the classdir attribute.protected QdoxParanamerGenerator makeQdoxParanamerGenerator()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |