| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.apache.tools.ant.taskdefs.Recorder
com.nokia.ant.taskdefs.CoverageRecorderTask
public class CoverageRecorderTask
Adds a listener, which inherits the Ant Record task, to the current build process that records the output to a XML file.
| Nested Class Summary | 
|---|
| Nested classes/interfaces inherited from class org.apache.tools.ant.taskdefs.Recorder | 
|---|
| org.apache.tools.ant.taskdefs.Recorder.ActionChoices, org.apache.tools.ant.taskdefs.Recorder.VerbosityLevelChoices | 
| Field Summary | 
|---|
| Fields inherited from class org.apache.tools.ant.Task | 
|---|
| target, taskName, taskType, wrapper | 
| Fields inherited from class org.apache.tools.ant.ProjectComponent | 
|---|
| description, location, project | 
| Constructor Summary | |
|---|---|
| CoverageRecorderTask() | |
| Method Summary | |
|---|---|
|  void | execute()The main execution. | 
| protected  CoverageRecorderEntry | getRecorder(java.lang.String name,
            org.apache.tools.ant.Project proj,
            java.lang.String recordTaskName)Gets the recorder that's associated with the passed in name. | 
|  void | setAction(org.apache.tools.ant.taskdefs.Recorder.ActionChoices action)Sets the action for the associated recorder entry. | 
|  void | setAppend(boolean append)Whether or not the logger should append to a previous file. | 
|  void | setEmacsMode(boolean emacsMode)Set emacs mode. | 
|  void | setLoglevel(org.apache.tools.ant.taskdefs.Recorder.VerbosityLevelChoices level)Sets the level to which this recorder entry should log to. | 
|  void | setName(java.lang.String fname)Sets the name of the file to log to, and the name of the recorder entry. | 
| Methods inherited from class org.apache.tools.ant.taskdefs.Recorder | 
|---|
| buildFinished, buildStarted, getRecorder, init, messageLogged, subBuildFinished, subBuildStarted, targetFinished, targetStarted, taskFinished, taskStarted | 
| Methods inherited from class org.apache.tools.ant.Task | 
|---|
| bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType | 
| Methods inherited from class org.apache.tools.ant.ProjectComponent | 
|---|
| clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public CoverageRecorderTask()
| Method Detail | 
|---|
public void setName(java.lang.String fname)
setName in class org.apache.tools.ant.taskdefs.Recorderfname - File name of logfile.public void setAction(org.apache.tools.ant.taskdefs.Recorder.ActionChoices action)
setAction in class org.apache.tools.ant.taskdefs.Recorderaction - The action for the entry to take: start or stop.public void setAppend(boolean append)
setAppend in class org.apache.tools.ant.taskdefs.Recorderappend - if true, append to a previous file.public void setEmacsMode(boolean emacsMode)
setEmacsMode in class org.apache.tools.ant.taskdefs.RecorderemacsMode - if true use emacs modepublic void setLoglevel(org.apache.tools.ant.taskdefs.Recorder.VerbosityLevelChoices level)
setLoglevel in class org.apache.tools.ant.taskdefs.Recorderlevel - the level to set.
 see VerbosityLevelChoicespublic void execute()
execute in class org.apache.tools.ant.taskdefs.Recorderorg.apache.tools.ant.BuildException - on error
protected CoverageRecorderEntry getRecorder(java.lang.String name,
                                            org.apache.tools.ant.Project proj,
                                            java.lang.String recordTaskName)
name - the name of the recoderproj - the current project
org.apache.tools.ant.BuildException - on error| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||