Class 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
    • Constructor Detail

      • JacocoDump

        @Inject
        public JacocoDump​(WorkerExecutor workerExecutor)
    • Method Detail

      • dump

        public void dump()
      • getDump

        public Property<Boolean> getDump()
        Sets whether execution data should be downloaded from the remote host. Defaults to true
        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 to false
        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 to localhost
        See Also:
        DumpTask.setAddress(String)
      • getPort

        public Property<Integer> getPort()
        Port number to connect to. Default is 6300
        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 is true.
        See Also:
        DumpTask.setDestfile(File)
      • getAppend

        public Property<Boolean> getAppend()
        true if the destination file it to be appended to. false if the file is to be overwritten
        See Also:
        DumpTask.setAppend(boolean)