Class JacocoDump
- java.lang.Object
-
- org.gradle.api.internal.AbstractTask
-
- org.gradle.api.DefaultTask
-
- org.gradle.testing.jacoco.tasks.JacocoBase
-
- io.freefair.gradle.plugins.jacoco.tasks.JacocoDump
-
- All Implemented Interfaces:
Comparable<Task>
,org.gradle.api.internal.DynamicObjectAware
,org.gradle.api.internal.TaskInternal
,ExtensionAware
,Task
,org.gradle.util.Configurable<Task>
public class JacocoDump extends JacocoBase
- See Also:
DumpTask
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.gradle.api.Task
Task.Namer
-
-
Field Summary
-
Fields inherited from interface org.gradle.api.Task
TASK_ACTION, TASK_CONSTRUCTOR_ARGS, TASK_DEPENDS_ON, TASK_DESCRIPTION, TASK_GROUP, TASK_NAME, TASK_OVERWRITE, TASK_TYPE
-
-
Constructor Summary
Constructors Constructor Description JacocoDump(WorkerExecutor workerExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dump()
Property<String>
getAddress()
IP Address or hostname to connect to.Property<Boolean>
getAppend()
true
if the destination file it to be appended to.RegularFileProperty
getDestfile()
Sets the location of the execution data file to write.Property<Boolean>
getDump()
Sets whether execution data should be downloaded from the remote host.Property<Integer>
getPort()
Port number to connect to.Property<Boolean>
getReset()
Sets whether a reset command should be sent after the execution data has been dumped.Property<Integer>
getRetryCount()
Number of retries which the goal will attempt to establish a connection.WorkerExecutor
getWorkerExecutor()
-
Methods inherited from class org.gradle.testing.jacoco.tasks.JacocoBase
getJacocoClasspath, setJacocoClasspath
-
Methods inherited from class org.gradle.api.DefaultTask
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
-
Methods inherited from class org.gradle.api.internal.AbstractTask
appendParallelSafeAction, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, injectIntoNewInstance, isEnabled, isHasCustomActions, prependParallelSafeAction, setImpliesSubProjects, setLoggerMessageRewriter
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.gradle.api.Task
getConvention
-
-
-
-
Constructor Detail
-
JacocoDump
@Inject public JacocoDump(WorkerExecutor workerExecutor)
-
-
Method Detail
-
dump
public void dump()
-
getWorkerExecutor
public WorkerExecutor getWorkerExecutor()
-
getDump
public Property<Boolean> getDump()
Sets whether execution data should be downloaded from the remote host. Defaults totrue
- See Also:
DumpTask.setDump(boolean)
-
getReset
public Property<Boolean> getReset()
Sets whether a reset command should be sent after the execution data has been dumped. Defaults tofalse
- See Also:
DumpTask.setReset(boolean)
-
getRetryCount
public Property<Integer> getRetryCount()
Number of retries which the goal will attempt to establish a connection. This can be used to wait until the target JVM is successfully launched.- See Also:
DumpTask.setRetryCount(int)
-
getAddress
public Property<String> getAddress()
IP Address or hostname to connect to. Defaults tolocalhost
- See Also:
DumpTask.setAddress(String)
-
getPort
public Property<Integer> getPort()
Port number to connect to. Default is6300
- See Also:
DumpTask.setPort(int)
-
getDestfile
public RegularFileProperty getDestfile()
Sets the location of the execution data file to write. This parameter is required when dump istrue
.- See Also:
DumpTask.setDestfile(File)
-
-