Package eu.europa.esig.dss.alert.status
Interface Status
- All Known Implementing Classes:
MessageStatus
,ObjectStatus
,RevocationFreshnessStatus
,SignatureStatus
,TokenStatus
public interface Status
Contains information about the occurred event
-
Method Summary
Modifier and TypeMethodDescriptionThis method returns a complete error message computed from the mainmessage
and subMessages from the different objectsReturns the error message describing the occurred eventReturns a collection of object identifiers associated with the eventboolean
isEmpty()
Returns whether the object is not filled (all values are null)
-
Method Details
-
getMessage
String getMessage()Returns the error message describing the occurred event- Returns:
String
-
getRelatedObjectIds
Collection<String> getRelatedObjectIds()Returns a collection of object identifiers associated with the event- Returns:
- a collection of
String
object ids associated with the event
-
isEmpty
boolean isEmpty()Returns whether the object is not filled (all values are null)- Returns:
- TRUE if the Status is empty (underlying even did not occur), FALSE otherwise (event occurred)
-
getErrorString
String getErrorString()This method returns a complete error message computed from the mainmessage
and subMessages from the different objects- Returns:
String
-