Class Report
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Report.Builder,Report>
Information about the results from running a series of test cases during the run of a build project. The test cases are specified in the buildspec for the build project using one or more paths to the test case files. You can specify any type of tests you want, such as unit tests, integration tests, and functional tests.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringarn()The ARN of the report run.static Report.Builderbuilder()ACodeCoverageReportSummaryobject that contains a code coverage summary for this report.final Instantcreated()The date and time this report run occurred.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringThe ARN of the build run that generated this report.final Instantexpired()The date and time a report expires.final ReportExportConfigInformation about where the raw data used to generate this report was exported.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringname()The name of the report that was run.final StringThe ARN of the report group associated with this report.static Class<? extends Report.Builder> final ReportStatusTypestatus()The status of this report.final StringThe status of this report.final TestReportSummaryATestReportSummaryobject that contains information about this test report.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final BooleanA boolean that specifies if this report run is truncated.final ReportTypetype()The type of the report that was run.final StringThe type of the report that was run.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
arn
-
type
The type of the report that was run.
- CODE_COVERAGE
-
A code coverage report.
- TEST
-
A test report.
If the service returns an enum value that is not available in the current SDK version,
typewill returnReportType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the report that was run.
- CODE_COVERAGE
-
A code coverage report.
- TEST
-
A test report.
- See Also:
-
typeAsString
The type of the report that was run.
- CODE_COVERAGE
-
A code coverage report.
- TEST
-
A test report.
If the service returns an enum value that is not available in the current SDK version,
typewill returnReportType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the report that was run.
- CODE_COVERAGE
-
A code coverage report.
- TEST
-
A test report.
- See Also:
-
name
The name of the report that was run.
- Returns:
- The name of the report that was run.
-
reportGroupArn
The ARN of the report group associated with this report.
- Returns:
- The ARN of the report group associated with this report.
-
executionId
The ARN of the build run that generated this report.
- Returns:
- The ARN of the build run that generated this report.
-
status
The status of this report.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnReportStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of this report.
- See Also:
-
statusAsString
The status of this report.
If the service returns an enum value that is not available in the current SDK version,
statuswill returnReportStatusType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of this report.
- See Also:
-
created
The date and time this report run occurred.
- Returns:
- The date and time this report run occurred.
-
expired
The date and time a report expires. A report expires 30 days after it is created. An expired report is not available to view in CodeBuild.
- Returns:
- The date and time a report expires. A report expires 30 days after it is created. An expired report is not available to view in CodeBuild.
-
exportConfig
Information about where the raw data used to generate this report was exported.
- Returns:
- Information about where the raw data used to generate this report was exported.
-
truncated
A boolean that specifies if this report run is truncated. The list of test cases is truncated after the maximum number of test cases is reached.
- Returns:
- A boolean that specifies if this report run is truncated. The list of test cases is truncated after the maximum number of test cases is reached.
-
testSummary
A
TestReportSummaryobject that contains information about this test report.- Returns:
- A
TestReportSummaryobject that contains information about this test report.
-
codeCoverageSummary
A
CodeCoverageReportSummaryobject that contains a code coverage summary for this report.- Returns:
- A
CodeCoverageReportSummaryobject that contains a code coverage summary for this report.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<Report.Builder,Report> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-