java.lang.Cloneable
public class DumpTask
extends org.apache.tools.ant.Task
Constructor | Description |
---|---|
DumpTask() |
Modifier and Type | Method | Description |
---|---|---|
void |
execute() |
|
void |
setAddress(java.lang.String address) |
IP Address or hostname to connect to.
|
void |
setAppend(boolean append) |
true if the destination file it to be appended to. |
void |
setDestfile(java.io.File destfile) |
Sets the location of the execution data file to write.
|
void |
setDump(boolean dump) |
Sets whether execution data should be downloaded from the remote host.
|
void |
setPort(int port) |
Port number to connect to.
|
void |
setReset(boolean reset) |
Sets whether a reset command should be sent after the execution data has
been dumped.
|
void |
setRetryCount(int retryCount) |
Number of retries which the goal will attempt to establish a connection.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void setDestfile(java.io.File destfile)
true
. Default is
jacoco.exec
destfile
- Location to write execution data topublic void setAddress(java.lang.String address)
localhost
address
- IP Address or hostname to connect topublic void setPort(int port)
6300
port
- Port to connect topublic void setRetryCount(int retryCount)
retryCount
- number of retriespublic void setAppend(boolean append)
true
if the destination file it to be appended to.
false
if the file is to be overwrittenappend
- true
if the destination file should be appended
topublic void setDump(boolean dump)
true
dump
- true
to download execution datapublic void setReset(boolean reset)
false
reset
- true
to reset execution datapublic void execute() throws org.apache.tools.ant.BuildException
execute
in class org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
Copyright © 2018. All rights reserved.