public class CloverProfile extends Object implements Serializable
CloverNames.PROP_CLOVER_PROFILE system property.
Profiles allow to change Clover configuration at runtime without recompiling the sources.| Modifier and Type | Class and Description |
|---|---|
static class |
CloverProfile.CoverageRecorderType
Possible coverage recorder types
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
coverageRecorder
Enum field kept as String for serialization under JDK1.4
|
static String |
DEFAULT_COVERAGE_RECORDER
Enum field kept as String for serialization under JDK1.4
|
static String |
DEFAULT_NAME |
protected DistributedConfig |
distributedCoverage |
protected String |
name |
| Constructor and Description |
|---|
CloverProfile(String name,
CloverProfile.CoverageRecorderType coverageRecorder,
DistributedConfig distributedCoverage) |
CloverProfile(String name,
String coverageRecorder,
String distributedCoverage)
Constructor with primitive strings.
|
| Modifier and Type | Method and Description |
|---|---|
CloverProfile.CoverageRecorderType |
getCoverageRecorder() |
DistributedConfig |
getDistributedCoverage() |
String |
getName() |
protected void |
setCoverageRecorder(CloverProfile.CoverageRecorderType coverageRecorder) |
protected void |
setDistributedCoverage(String distributedCoverage) |
public static final String DEFAULT_NAME
public static final String DEFAULT_COVERAGE_RECORDER
protected String name
protected String coverageRecorder
protected DistributedConfig distributedCoverage
public CloverProfile(String name, CloverProfile.CoverageRecorderType coverageRecorder, DistributedConfig distributedCoverage)
public DistributedConfig getDistributedCoverage()
public CloverProfile.CoverageRecorderType getCoverageRecorder()
public String getName()
protected void setCoverageRecorder(CloverProfile.CoverageRecorderType coverageRecorder)
protected void setDistributedCoverage(String distributedCoverage)
Copyright © 2023 OpenClover.org. All rights reserved.