|
||||||||||
| 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
org.jcoderz.commons.taskdefs.ApiDocTask
public class ApiDocTask
Generates API documentation (DocBook format).
| Field Summary | |
|---|---|
static String |
NAME
Task name. |
| 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 | |
|---|---|
ApiDocTask()
|
|
| Method Summary | |
|---|---|
void |
addSrc(SourceDirectory src)
Set the source path to be used for this task run. |
void |
execute()
Execute this task. |
void |
setDocletPath(org.apache.tools.ant.types.Path path)
Set the doclet path to be used for this task run. |
void |
setFailonerror(boolean b)
Set whether we should fail on an error. |
void |
setIn(File f)
Sets the XML input file that contains the document. |
void |
setOut(File dir)
Set the destination directory into which the result files should be copied to. |
| 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 |
| Field Detail |
|---|
public static final String NAME
| Constructor Detail |
|---|
public ApiDocTask()
| Method Detail |
|---|
public void setIn(File f)
f - the XML input file (log message info).public void setOut(File dir)
dir - the name of the destination directory.public void setFailonerror(boolean b)
b - Whether we should fail on an error.public void addSrc(SourceDirectory src)
src - an Ant FileSet object containing the compilation
source path.public void setDocletPath(org.apache.tools.ant.types.Path path)
path - an Ant Path object containing the compilation source
path.
public void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException - An building exception occurred.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||