Class AntCloverProfile

java.lang.Object
org_openclover_runtime.CloverProfile
org.openclover.ant.AntCloverProfile
All Implemented Interfaces:
Serializable

public class AntCloverProfile extends org_openclover_runtime.CloverProfile
Handles the following declaration
     <profile name="default" coverageRecorder="fixed|growable|shared">
        [<distributedCoverage/>]
     <profile>
 
in Ant build script. Default attribute values are:
  • name=default
  • coverageRecorder=fixed
  • See Also:
    • Nested Class Summary

      Nested classes/interfaces inherited from class org_openclover_runtime.CloverProfile

      org_openclover_runtime.CloverProfile.CoverageRecorderType
    • Field Summary

      Fields inherited from class org_openclover_runtime.CloverProfile

      coverageRecorder, DEFAULT_COVERAGE_RECORDER, DEFAULT_NAME, distributedCoverage, name
    • Constructor Summary

      Constructors
      Constructor
      Description
       
    • Method Summary

      Modifier and Type
      Method
      Description
      void
      addConfiguredDistributedCoverage(org.openclover.runtime.remote.DistributedConfig config)
      Setter for Ant's
      void
      Setter for Ant's <profile coverageRecorder="..."> attribute.
      void
      Setter for Ant's <profile name="..."> attribute.

      Methods inherited from class org_openclover_runtime.CloverProfile

      getCoverageRecorder, getDistributedCoverage, getName, setCoverageRecorder, setDistributedCoverage

      Methods inherited from class java.lang.Object

      clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Details

      • AntCloverProfile

        public AntCloverProfile()
    • Method Details

      • setName

        public void setName(String name)
        Setter for Ant's <profile name="..."> attribute.
      • setCoverageRecorder

        public void setCoverageRecorder(String recorderName)
        Setter for Ant's <profile coverageRecorder="..."> attribute.
      • addConfiguredDistributedCoverage

        public void addConfiguredDistributedCoverage(org.openclover.runtime.remote.DistributedConfig config)
        Setter for Ant's
            <profile>
                <distributedCoverage ... />
            <profile>
         
        Parameters:
        config - passed by Ant