Package gosu.tools.ant
Class Gosudoc
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
gosu.tools.ant.Gosudoc
- All Implemented Interfaces:
Cloneable
public class Gosudoc
extends org.apache.tools.ant.Task
Access to the GosuDoc tool from Ant.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.apache.tools.ant.types.Path
private File
private org.apache.tools.ant.types.Path
private String
private boolean
private final AntLoggingHelper
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.tools.ant.types.Path
Adds a path to the classpath.void
execute()
void
setClasspathRef
(org.apache.tools.ant.types.Reference ref) Adds a reference to a classpath defined elsewhere.void
setInputDirs
(org.apache.tools.ant.types.Path inputDirs) Specify where to find source filevoid
setOutputDir
(File dir) Set the directory where the GosuDoc output will be generated.void
setVerbose
(boolean verbose) 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
-
Field Details
-
log
-
_inputDirs
private org.apache.tools.ant.types.Path _inputDirs -
_outputDir
-
_verbose
private boolean _verbose -
_runtimeClasspath
private org.apache.tools.ant.types.Path _runtimeClasspath -
_title
-
-
Constructor Details
-
Gosudoc
public Gosudoc()
-
-
Method Details
-
setInputDirs
public void setInputDirs(org.apache.tools.ant.types.Path inputDirs) Specify where to find source file- Parameters:
inputDirs
- a Path instance containing the various source directories.
-
setOutputDir
Set the directory where the GosuDoc output will be generated.- Parameters:
dir
- the output directory.
-
setVerbose
public void setVerbose(boolean verbose) -
createClasspath
public org.apache.tools.ant.types.Path createClasspath()Adds a path to the classpath.- Returns:
- a classpath to be configured
-
setClasspathRef
public void setClasspathRef(org.apache.tools.ant.types.Reference ref) Adds a reference to a classpath defined elsewhere.- Parameters:
ref
- a reference to a classpath
-
execute
public void execute() throws org.apache.tools.ant.BuildException- Overrides:
execute
in classorg.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
-