com.teamscale.report.testwise.model.PathCoverage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of report-generator Show documentation
Show all versions of report-generator Show documentation
Utilities for generating JaCoCo and Testwise Coverage reports
package com.teamscale.report.testwise.model;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/** Container for {@link FileCoverage}s of the same path. */
public class PathCoverage {
/** File system path. */
private final String path;
/** Files with coverage. */
private final List files;
@JsonCreator
public PathCoverage(@JsonProperty("path") String path, @JsonProperty("files") List files) {
this.path = path;
this.files = files;
}
public String getPath() {
return path;
}
public List getFiles() {
return files;
}
}