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:
Cloneable
public class MergeHints
extends org.apache.tools.ant.Task
Merge execution hints emitted by
ExecutionTimeBalancer
to one file.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate File
Output file for merged hints.private int
private List
<org.apache.tools.ant.types.ResourceCollection> All included execution time dumps.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(org.apache.tools.ant.types.ResourceCollection rc) Adds a resource collection with execution hints.void
execute()
void
Set the output file for merged hints.void
setHistoryLength
(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
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Field Details
-
resources
All included execution time dumps. -
historyLength
private int historyLength- See Also:
-
file
Output file for merged hints.
-
-
Constructor Details
-
MergeHints
public MergeHints()
-
-
Method Details
-
setHistoryLength
public void setHistoryLength(int historyLength) - See Also:
-
setFile
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:
execute
in classorg.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
-