public class ReportItem extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ReportItem.ReportItemStatus
Enum representing possible report item statuses that determine validation result.
|
| Constructor and Description |
|---|
ReportItem(ReportItem otherReportItem)
Create report item from another report item.
|
ReportItem(String checkName,
String message,
Exception cause,
ReportItem.ReportItemStatus status)
Create
ReportItem instance. |
ReportItem(String checkName,
String message,
ReportItem.ReportItemStatus status)
Create
ReportItem instance. |
| Modifier and Type | Method and Description |
|---|---|
String |
getCheckName()
Get the check name related to this report item.
|
Exception |
getExceptionCause()
Get the exception, which caused this report item.
|
String |
getMessage()
Get the message related to this report item.
|
ReportItem.ReportItemStatus |
getStatus()
Get report item status that determines validation result this report item corresponds to.
|
ReportItem |
setStatus(ReportItem.ReportItemStatus status)
Set report item status that determines validation result this report item corresponds to.
|
String |
toString() |
public ReportItem(String checkName, String message, ReportItem.ReportItemStatus status)
ReportItem instance.checkName - String, which represents a check name during which report item occurredmessage - String with the exact report item messagestatus - ReportItem.ReportItemStatus report item status that determines validation resultpublic ReportItem(String checkName, String message, Exception cause, ReportItem.ReportItemStatus status)
ReportItem instance.checkName - String, which represents a check name during which report item occurredmessage - String with the exact report item messagecause - Exception, which caused this report itemstatus - ReportItem.ReportItemStatus report item status that determines validation resultpublic ReportItem(ReportItem otherReportItem)
otherReportItem - ReportItem from which new one will be createdpublic String getCheckName()
String check name related to this report item.public String getMessage()
String message related to this report item.public Exception getExceptionCause()
Exception, which cause this report item.public ReportItem.ReportItemStatus getStatus()
ReportItem.ReportItemStatus report item status that determines validation result.public ReportItem setStatus(ReportItem.ReportItemStatus status)
status - ReportItem.ReportItemStatus report item status that determines validation resultReportItem instance.Copyright © 1998–2025 Apryse Group NV. All rights reserved.