org.hackystat.sensor.ant.task
Class DataFiles

java.lang.Object
  extended by org.hackystat.sensor.ant.task.DataFiles

public class DataFiles
extends java.lang.Object

Represents the datafiles element that can be nested in a Hackystat sensor Ant task.

Author:
Philip Johnson

Field Summary
protected  java.util.List<org.apache.tools.ant.types.FileSet> filesets
          The list of all FileSets in this element.
 
Constructor Summary
DataFiles()
           
 
Method Summary
 void addFileSet(org.apache.tools.ant.types.FileSet fs)
          The sourcefiles element must contain one or more internal filesets.
 java.util.List<org.apache.tools.ant.types.FileSet> getFileSets()
          Returns the list of FileSet instances associated with the sourcefiles element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filesets

protected java.util.List<org.apache.tools.ant.types.FileSet> filesets
The list of all FileSets in this element.

Constructor Detail

DataFiles

public DataFiles()
Method Detail

addFileSet

public void addFileSet(org.apache.tools.ant.types.FileSet fs)
The sourcefiles element must contain one or more internal filesets. This enables Ant to update our internal instance variable.

Parameters:
fs - The file set.

getFileSets

public java.util.List<org.apache.tools.ant.types.FileSet> getFileSets()
Returns the list of FileSet instances associated with the sourcefiles element.

Returns:
The list of FileSets.