public class ValidationReport extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ValidationReport.ValidationResult
Enum representing possible validation results.
|
| Constructor and Description |
|---|
ValidationReport()
Create new instance of
ValidationReport. |
| Modifier and Type | Method and Description |
|---|---|
void |
addReportItem(ReportItem item)
Add new report item to the overall validation result.
|
List<CertificateReportItem> |
getCertificateFailures()
Get list of failures, which are related to certificate validation.
|
List<CertificateReportItem> |
getCertificateLogs()
Get list of log messages, which are related to certificate validation.
|
List<ReportItem> |
getFailures()
Get all failures recognized during a validation process.
|
List<ReportItem> |
getLogs()
Get all log messages reported during a validation process.
|
ValidationReport.ValidationResult |
getValidationResult()
Get the result of a validation process.
|
ValidationReport |
merge(ValidationReport subReport)
Merge all
ReportItem objects from sub report into this one. |
ValidationReport |
mergeWithDifferentStatus(ValidationReport subReport,
ReportItem.ReportItemStatus newStatus)
Merge all
ReportItem objects from sub report into this one with different status. |
String |
toString()
.
|
public ValidationReport()
ValidationReport.public ValidationReport.ValidationResult getValidationResult()
ValidationReport.ValidationResult, which represents the result of a validationpublic List<ReportItem> getFailures()
List, which contains all recognized failurespublic List<CertificateReportItem> getCertificateFailures()
List, which contains only CertificateReportItem failurespublic List<ReportItem> getLogs()
List, which contains all reported log messages, related to validationpublic List<CertificateReportItem> getCertificateLogs()
List, which contains only CertificateReportItem log messagespublic void addReportItem(ReportItem item)
item - ReportItem to be addedpublic ValidationReport merge(ValidationReport subReport)
ReportItem objects from sub report into this one.subReport - report from which items will be mergedValidationReport the same updated validation report instance.public ValidationReport mergeWithDifferentStatus(ValidationReport subReport, ReportItem.ReportItemStatus newStatus)
ReportItem objects from sub report into this one with different status.subReport - report from which items will be mergednewStatus - ReportItem.ReportItemStatus which will be used instead of provided onesValidationReport the same updated validation report instance.Copyright © 1998–2025 Apryse Group NV. All rights reserved.