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.Pathprivate Fileprivate org.apache.tools.ant.types.Pathprivate Stringprivate booleanprivate final AntLoggingHelperFields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapperFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.tools.ant.types.PathAdds a path to the classpath.voidexecute()voidsetClasspathRef(org.apache.tools.ant.types.Reference ref) Adds a reference to a classpath defined elsewhere.voidsetInputDirs(org.apache.tools.ant.types.Path inputDirs) Specify where to find source filevoidsetOutputDir(File dir) Set the directory where the GosuDoc output will be generated.voidsetVerbose(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, setTaskTypeMethods 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:
executein classorg.apache.tools.ant.Task- Throws:
org.apache.tools.ant.BuildException
-