|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.Task net.dpml.tools.tasks.GenericTask net.dpml.tools.tasks.ResourceTask net.dpml.tools.tasks.JavadocTask
public class JavadocTask
Build the javadoc for a project.
Nested Class Summary | |
---|---|
static class |
JavadocTask.Group
Defintion of a package group. |
class |
JavadocTask.Link
Delcaration of a link. |
Field Summary | |
---|---|
static String |
JAVADOC_ACCESS_KEY
Property key for declaration of an overriding access level. |
static String |
JAVADOC_LINK_SOURCE_KEY
Property key for declaration of the linksource option. |
Fields inherited from class net.dpml.tools.tasks.GenericTask |
---|
ASC_EXT, GPG_EXE_KEY, MD5_EXT |
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 | |
---|---|
JavadocTask()
|
Method Summary | |
---|---|
JavadocTask.Group |
createGroup()
Create and add a new group to the javadoc defintion. |
JavadocTask.Link |
createLink()
Create and add a new link to the javadoc run. |
void |
execute()
Task execution. |
void |
init()
Task initialization. |
void |
setAccess(Javadoc.AccessType access)
Set the documentation access level. |
void |
setDest(File dir)
Override the default destination. |
void |
setOverview(File overview)
Set the javadoc overview file. |
void |
setTitle(String title)
Set the javadoc title. |
Methods inherited from class net.dpml.tools.tasks.ResourceTask |
---|
getResource, setKey, setRef |
Methods inherited from class net.dpml.tools.tasks.GenericTask |
---|
asc, checksum, copy, deleteDir, getContext, getLibrary, isInitialized, mkDir |
Methods inherited from class org.apache.tools.ant.Task |
---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, 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 |
---|
public static final String JAVADOC_ACCESS_KEY
public static final String JAVADOC_LINK_SOURCE_KEY
Constructor Detail |
---|
public JavadocTask()
Method Detail |
---|
public void init()
init
in class GenericTask
public void setTitle(String title)
title
- the titlepublic void setOverview(File overview)
overview
- the overview filepublic void setDest(File dir)
dir
- the destination directorypublic JavadocTask.Link createLink()
public JavadocTask.Group createGroup()
public void setAccess(Javadoc.AccessType access)
access
- the access levelpublic void execute() throws BuildException
execute
in class Task
BuildException
- if a build error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |