Class MergeHints
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- com.carrotsearch.ant.tasks.junit4.balancers.MergeHints
-
- All Implemented Interfaces:
java.lang.Cloneable
public class MergeHints extends org.apache.tools.ant.TaskMerge execution hints emitted byExecutionTimeBalancerto one file.
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.FilefileOutput file for merged hints.private inthistoryLengthprivate java.util.List<org.apache.tools.ant.types.ResourceCollection>resourcesAll included execution time dumps.
-
Constructor Summary
Constructors Constructor Description MergeHints()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(org.apache.tools.ant.types.ResourceCollection rc)Adds a resource collection with execution hints.voidexecute()voidsetFile(java.io.File file)Set the output file for merged hints.voidsetHistoryLength(int historyLength)-
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
-
-
-
-
Method Detail
-
setHistoryLength
public void setHistoryLength(int historyLength)
-
setFile
public void setFile(java.io.File file)
Set the output file for merged hints.
-
add
public void add(org.apache.tools.ant.types.ResourceCollection rc)
Adds a resource collection with execution hints.
-
execute
public void execute() throws org.apache.tools.ant.BuildException- Overrides:
executein classorg.apache.tools.ant.Task- Throws:
org.apache.tools.ant.BuildException
-
-