public class FailureReport extends AbstractReport<FailureReport,FailureReportBuilder>
Report
implementation that represents any report information related to a failure.
It provides the basic implementation of using a name, list of entries and list of sub-reportsConstructor and Description |
---|
FailureReport()
Creates an instance of
TestClassReport |
FailureReport(String name)
Creates an instance of
TestClassReport with the given String set as a name as UnknownStringKey |
FailureReport(StringKey name)
Creates an instance of
TestClassReport with the given StringKey set as a name |
Modifier and Type | Method and Description |
---|---|
Report |
addNewReport(Report newReport,
Class<? extends Report> expectedReportTypeClass)
Takes the given
Report and adds it into the list of sub-reports. |
Class<FailureReportBuilder> |
getReportBuilderClass()
Returns a
ReportBuilder class that should be used as a builder for the report implementations |
FailureReport |
merge(FailureReport newReport)
It uses only the default functionality of merging (see
AbstractReport.defaultMerge(AbstractReport) ). |
defaultMerge, getEntries, getName, getSubReports, setEntries, setName, setSubReports
public FailureReport()
TestClassReport
public FailureReport(StringKey name)
TestClassReport
with the given StringKey
set as a namename
- A StringKey
to be set as a namepublic FailureReport(String name)
TestClassReport
with the given String set as a name as UnknownStringKey
name
- A String to be set as a name as UnknownStringKey
public Class<FailureReportBuilder> getReportBuilderClass()
Report
ReportBuilder
class that should be used as a builder for the report implementationsReportBuilder
class that should be used as a builder for the report implementationspublic FailureReport merge(FailureReport newReport)
AbstractReport.defaultMerge(AbstractReport)
).
Takes the entries and sub-reports contained in the given FailureReport
and adds them into the list of entries and sub-reports respectively withing this instance of report.newReport
- A FailureReport
to be mergedFailureReport
Copyright © 2017 JBoss by Red Hat. All rights reserved.