net.sourceforge.groboutils.codecoverage.v2.ant
Class AnalysisModuleType

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.types.DataType
          extended bynet.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

Nested Class Summary
static class AnalysisModuleType.TypeAttribute
           
 
Field Summary
 
Fields inherited from class org.apache.tools.ant.types.DataType
checked, description, ref
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
AnalysisModuleType()
           
 
Method Summary
 org.apache.tools.ant.types.Path createClasspath()
          Create the classpath to be used when searching for component being defined
 IAnalysisModule getAnalysisModule()
          This method is guaranteed to never return null.
protected  AnalysisModuleType getRef()
           
 void setClassName(java.lang.String c)
           
 void setClasspath(org.apache.tools.ant.types.Path classpath)
          Set the classpath to be used when searching for component being defined
 void setClasspathRef(org.apache.tools.ant.types.Reference r)
          reference to a classpath to use when loading the files.
 void setLoaderRef(org.apache.tools.ant.types.Reference r)
          Use the reference to locate the loader.
 void setName(java.lang.String n)
           
 void setType(AnalysisModuleType.TypeAttribute n)
           
 
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
 

Constructor Detail

AnalysisModuleType

public AnalysisModuleType()
Method Detail

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