|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.Task cyvis.cli.ant.CyvisTask
public class CyvisTask
Extends the org.apache.tools.ant.Task. Gets information from the ant file and performs the cyvis ant task. Uses the core.TUI class to process metrics and then generated reports.
Nested Class Summary | |
---|---|
class |
CyvisTask.Report
A class to denote the nested element |
Field Summary |
---|
Fields inherited from class org.apache.tools.ant.Task |
---|
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
---|
project |
Constructor Summary | |
---|---|
CyvisTask()
|
Method Summary | |
---|---|
void |
addFileset(org.apache.tools.ant.types.FileSet set)
|
CyvisTask.Report |
createReport()
|
void |
execute()
Overrides the execute method in the org.apache.tools.ant.Task class and performs the required actions required to generate reports. |
String |
getHome()
|
void |
setHome(String home)
|
void |
setVerbose(boolean verbose)
|
Methods inherited from class org.apache.tools.ant.Task |
---|
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
---|
getProject, setProject |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CyvisTask()
Method Detail |
---|
public void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
public void setVerbose(boolean verbose)
verbose
- indicates verbose on and offpublic void addFileset(org.apache.tools.ant.types.FileSet set)
set
- fileset given in the ant build file.public String getHome()
public void setHome(String home)
home
- cyvis home directorypublic CyvisTask.Report createReport()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |