@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:37.366Z") @Stability(value=Stable) public enum ReportGroupType extends Enum<ReportGroupType>
Example:
Source source;
// create a new ReportGroup
ReportGroup reportGroup = ReportGroup.Builder.create(this, "ReportGroup")
.type(ReportGroupType.CODE_COVERAGE)
.build();
Project project = Project.Builder.create(this, "Project")
.source(source)
.buildSpec(BuildSpec.fromObject(Map.of(
// ...
"reports", Map.of(
reportGroup.getReportGroupArn(), Map.of(
"files", "**/*",
"base-directory", "build/coverage-report.xml",
"file-format", "JACOCOXML")))))
.build();
| Enum Constant and Description |
|---|
CODE_COVERAGE
The report group contains code coverage reports.
|
TEST
The report group contains test reports.
|
| Modifier and Type | Method and Description |
|---|---|
static ReportGroupType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReportGroupType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Stability(value=Stable) public static final ReportGroupType TEST
@Stability(value=Stable) public static final ReportGroupType CODE_COVERAGE
public static ReportGroupType[] values()
for (ReportGroupType c : ReportGroupType.values()) System.out.println(c);
public static ReportGroupType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.