|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object cyvis.cli.ant.AntTaskUtil
public class AntTaskUtil
Ant Task Util is a util class that is used by the CyvisTask class. Its has util functions that help in getting the list of valid files for metrics extraction from the fileset elements. Its also generates all the reports generated by the user.
Constructor Summary | |
---|---|
AntTaskUtil()
|
Method Summary | |
---|---|
static void |
generateReports(ArrayList<CyvisTask.Report> reportSet,
String home)
Generates the reports as specified in the report object. |
static ArrayList<MetricSource> |
getValidFiles(String fileNames,
String classPath)
Gets all the valid files to process from the fileNames String in the class path specified. |
static void |
setVerbose(boolean verbose)
Sets the verbose on and off |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AntTaskUtil()
Method Detail |
---|
public static ArrayList<MetricSource> getValidFiles(String fileNames, String classPath)
fileNames
- The list of files in a fileset seperated by commas.classPath
- The path where the files are located.
public static void generateReports(ArrayList<CyvisTask.Report> reportSet, String home)
reportSet
- An arraylist of Report objects.home
- The cyvis home directory. Useful to get a reference to the xsl file to generate html reports.public static void setVerbose(boolean verbose)
verbose
- boolean indicating to switch verbose on and off
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |