br.com.oncast.dev.lobo.task
Class ProfilerTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by br.com.oncast.dev.lobo.task.ProfilerTask
All Implemented Interfaces:
java.lang.Cloneable

public class ProfilerTask
extends org.apache.tools.ant.Task

Ant task for performance analysis.


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
ProfilerTask()
           
 
Method Summary
 void addClasspath(org.apache.tools.ant.types.Path path)
          Add a new Path.
 BatchProfile createBatchProfile()
          Creates the BatchProfile to be executed.
 void execute()
          Executes the task.
 void setClasspathRef(org.apache.tools.ant.types.Reference classpathRef)
          Setter for ClasspathRef.
 void setOutput(java.lang.String outputFile)
          Sets the output file to write results to.
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, 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

ProfilerTask

public ProfilerTask()
Method Detail

addClasspath

public void addClasspath(org.apache.tools.ant.types.Path path)
Add a new Path.

Parameters:
path - to added.

setClasspathRef

public void setClasspathRef(org.apache.tools.ant.types.Reference classpathRef)
Setter for ClasspathRef.

Parameters:
classpathRef - the classpathRef to be settled.

createBatchProfile

public BatchProfile createBatchProfile()
Creates the BatchProfile to be executed.

Returns:
the created BatchProfile.

setOutput

public void setOutput(java.lang.String outputFile)
Sets the output file to write results to.

Parameters:
outputFile - the output file.

execute

public void execute()
Executes the task.

Overrides:
execute in class org.apache.tools.ant.Task