Save This Page
Home » cactus-1.8.0-src » org.apache.cactus.integration.maven » [javadoc | source]
org.apache.cactus.integration.maven
public class: CactusScannerTag [javadoc | source]
java.lang.Object
   org.apache.commons.jelly.TagSupport
      org.apache.cactus.integration.maven.CactusScannerTag

All Implemented Interfaces:
    org.apache.commons.jelly.tags.ant.TaskSource

Cactus Jelly Tag that scans Ant FileSets and return a list of qualified class name that are Cactus TestCases (i.e. ServletTestCase, JspTestCase or FilterTestCase) or subclasses of Cactus TestCases. Note: This is useful when used with the <junit> Ant task for example, in order to find out the list of tests to execute.
Constructor:
 public CactusScannerTag() 
Method from org.apache.cactus.integration.maven.CactusScannerTag Summary:
addFileset,   createClasspath,   doTag,   getCactusScanner,   getClasspath,   getTaskObject,   setClasspath,   setClasspathRef,   setClasspathref,   setTaskProperty,   setVar
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.cactus.integration.maven.CactusScannerTag Detail:
 public  void addFileset(FileSet theSet) 
    Adds a set of files (nested fileset attribute). This method is called dynamically by #setTaskProperty .
 public Path createClasspath() 
 public  void doTag(XMLOutput theXmlOutput) throws JellyTagException 
 public CactusScanner getCactusScanner() 
 public Path getClasspath() 
 public Object getTaskObject() 
 public  void setClasspath(Path theClasspath) 
    Sets the classapth in which we will look for Cactus test cases.
 public  void setClasspathRef(Reference theReference) 
    Sets the classpath in which we will look for Cactus test cases, using a reference.
 public  void setClasspathref(String theClasspathref) 
    Sets the classpath in which we will look for Cactus test cases, using a String reference.
 public  void setTaskProperty(String theName,
    Object theValue) throws JellyTagException 
    {@inheritDoc}
 public  void setVar(String theVar) 
    Sets the name of the variable exported by this tag.