net.sourceforge.groboutils.codecoverage.v2.ant
Class AnalysisModuleType
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.types.DataType
net.sourceforge.groboutils.codecoverage.v2.ant.AnalysisModuleType
- public class AnalysisModuleType
- extends org.apache.tools.ant.types.DataType
Loads an analysis module.
- Since:
- December 18, 2002
- Version:
- $Date: 2004/04/15 05:48:25 $
- Author:
- Matt Albrecht groboclown@users.sourceforge.net
Fields inherited from class org.apache.tools.ant.types.DataType |
checked, description, ref |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Methods inherited from class org.apache.tools.ant.types.DataType |
checkAttributesAllowed, checkChildrenAllowed, circularReference, dieOnCircularReference, getCheckedRef, getDescription, getRefid, isChecked, isReference, noChildrenAllowed, setChecked, setDescription, setRefid, tooManyAttributes |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, log, log, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnalysisModuleType
public AnalysisModuleType()
setName
public void setName(java.lang.String n)
setType
public void setType(AnalysisModuleType.TypeAttribute n)
setClassName
public void setClassName(java.lang.String c)
setClasspath
public void setClasspath(org.apache.tools.ant.types.Path classpath)
- Set the classpath to be used when searching for component being defined
- Parameters:
classpath
- an Ant Path object containing the classpath.
createClasspath
public org.apache.tools.ant.types.Path createClasspath()
- Create the classpath to be used when searching for component being defined
setClasspathRef
public void setClasspathRef(org.apache.tools.ant.types.Reference r)
- reference to a classpath to use when loading the files.
To actually share the same loader, set loaderref as well
setLoaderRef
public void setLoaderRef(org.apache.tools.ant.types.Reference r)
- Use the reference to locate the loader. If the loader is not
found, taskdef will use the specified classpath and register it
with the specified name.
This allow multiple taskdef/typedef to use the same class loader,
so they can be used together. It eliminate the need to
put them in the CLASSPATH.
- Since:
- Ant 1.5
getAnalysisModule
public IAnalysisModule getAnalysisModule()
throws org.apache.tools.ant.BuildException
- This method is guaranteed to never return null.
- Throws:
org.apache.tools.ant.BuildException
getRef
protected AnalysisModuleType getRef()
Copyright © 2001-2003 by The GroboUtils Project