Class ReportItem
java.lang.Object
com.itextpdf.signatures.validation.report.ReportItem
- Direct Known Subclasses:
-
CertificateReportItem
Report item to be used for single failure or log message.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Enum representing possible report item statuses that determine validation result. -
Constructor Summary
ConstructorDescriptionReportItem
(String checkName, String message, ReportItem.ReportItemStatus status) CreateReportItem
instance.ReportItem
(String checkName, String message, Exception cause, ReportItem.ReportItemStatus status) CreateReportItem
instance. -
Method Summary
Modifier and TypeMethodDescriptionGet the check name related to this report item.Get the exception, which caused this report item.Get the message related to this report item.Get report item status that determines validation result this report item corresponds to.setStatus
(ReportItem.ReportItemStatus status) Set report item status that determines validation result this report item corresponds to.toString()
-
Constructor Details
-
ReportItem
CreateReportItem
instance.- Parameters:
-
checkName
-String
, which represents a check name during which report item occurred -
message
-String
with the exact report item message -
status
-ReportItem.ReportItemStatus
report item status that determines validation result
-
ReportItem
public ReportItem(String checkName, String message, Exception cause, ReportItem.ReportItemStatus status) CreateReportItem
instance.- Parameters:
-
checkName
-String
, which represents a check name during which report item occurred -
message
-String
with the exact report item message -
cause
-Exception
, which caused this report item -
status
-ReportItem.ReportItemStatus
report item status that determines validation result
-
-
Method Details
-
getCheckName
Get the check name related to this report item.- Returns:
-
String
check name related to this report item.
-
getMessage
Get the message related to this report item.- Returns:
-
String
message related to this report item.
-
getExceptionCause
Get the exception, which caused this report item.- Returns:
-
Exception
, which cause this report item.
-
getStatus
Get report item status that determines validation result this report item corresponds to.- Returns:
-
ReportItem.ReportItemStatus
report item status that determines validation result.
-
setStatus
Set report item status that determines validation result this report item corresponds to.- Parameters:
-
status
-ReportItem.ReportItemStatus
report item status that determines validation result - Returns:
-
this
ReportItem
instance.
-
toString
-