Class SignatureStatus
java.lang.Object
eu.europa.esig.dss.alert.status.MessageStatus
eu.europa.esig.dss.alert.status.ObjectStatus
eu.europa.esig.dss.validation.status.SignatureStatus
- All Implemented Interfaces:
eu.europa.esig.dss.alert.status.Status
public class SignatureStatus
extends eu.europa.esig.dss.alert.status.ObjectStatus
Contains signatures concerned by an occurred event and corresponding information about them
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRelatedTokenAndErrorMessage(AdvancedSignature signature, String errorMessage) Adds concerned signature and information about the occurred eventgetMessageForSignature(AdvancedSignature signature) Returns error message for the given signatureReturns a collection of signatures concerned by failure of the processed checkbooleanisEmpty()Methods inherited from class eu.europa.esig.dss.alert.status.ObjectStatus
addRelatedObjectIdentifierAndErrorMessage, getErrorString, getMessageForObjectWithId, getRelatedObjectIds, objectMapToStringMethods inherited from class eu.europa.esig.dss.alert.status.MessageStatus
getMessage, setMessage, toString
-
Constructor Details
-
SignatureStatus
public SignatureStatus()Default constructor initializing an empty map
-
-
Method Details
-
addRelatedTokenAndErrorMessage
Adds concerned signature and information about the occurred event- Parameters:
signature-AdvancedSignatureerrorMessage-Stringmessage
-
getRelatedSignatures
Returns a collection of signatures concerned by failure of the processed check- Returns:
- a collection of
AdvancedSignatures
-
getMessageForSignature
Returns error message for the given signature- Parameters:
signature-AdvancedSignatureto get caused error message for- Returns:
Stringerror message
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceeu.europa.esig.dss.alert.status.Status- Overrides:
isEmptyin classeu.europa.esig.dss.alert.status.ObjectStatus
-