Class AbstractTimeStampPresentCheck
java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<XmlValidationProcessArchivalData>
eu.europa.esig.dss.validation.process.bbb.sav.checks.AbstractTimeStampPresentCheck
- Direct Known Subclasses:
LTALevelTimeStampCheck
,TLevelTimeStampCheck
public abstract class AbstractTimeStampPresentCheck
extends ChainItem<XmlValidationProcessArchivalData>
This an abstract class performing analysis if a valid timestamp from the given set is present
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractTimeStampPresentCheck
(I18nProvider i18nProvider, XmlValidationProcessArchivalData result, Map<String, XmlBasicBuildingBlocks> bbbs, Collection<XmlTimestamp> xmlTimestamps, LevelConstraint constraint) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected Indication
Gets an Indication in case of failureprotected SubIndication
Gets a SubIndication in case of failureprotected abstract Collection
<TimestampWrapper> Returns a collection of timestamps to be checked for a presence of a valid oneprotected boolean
process()
Performs the checkMethods inherited from class eu.europa.esig.dss.validation.process.ChainItem
buildAdditionalInfo, buildConstraintMessage, buildErrorMessage, buildXmlMessage, execute, getAdditionalInfo, getBlockType, getErrorMessageTag, getLevel, getMessageTag, getPreviousErrors, getSuccessIndication, getSuccessSubIndication, isIndeterminateConclusion, isInvalidConclusion, isValid, isValidConclusion, setNextItem
-
Constructor Details
-
AbstractTimeStampPresentCheck
protected AbstractTimeStampPresentCheck(I18nProvider i18nProvider, XmlValidationProcessArchivalData result, Map<String, XmlBasicBuildingBlocks> bbbs, Collection<XmlTimestamp> xmlTimestamps, LevelConstraint constraint) Default constructor- Parameters:
i18nProvider
-I18nProvider
result
-XmlValidationProcessArchivalData
bbbs
- map between token ids and correspondingXmlBasicBuildingBlocks
xmlTimestamps
- a collection ofXmlTimestamp
sconstraint
-LevelConstraint
-
-
Method Details
-
process
protected boolean process()Description copied from class:ChainItem
Performs the check- Specified by:
process
in classChainItem<XmlValidationProcessArchivalData>
- Returns:
- TRUE if the check succeeds, FALSE otherwise
-
getTimestamps
Returns a collection of timestamps to be checked for a presence of a valid one- Returns:
- collection of
TimestampWrapper
s
-
getFailedIndicationForConclusion
Description copied from class:ChainItem
Gets an Indication in case of failure- Specified by:
getFailedIndicationForConclusion
in classChainItem<XmlValidationProcessArchivalData>
- Returns:
Indication
-
getFailedSubIndicationForConclusion
Description copied from class:ChainItem
Gets a SubIndication in case of failure- Specified by:
getFailedSubIndicationForConclusion
in classChainItem<XmlValidationProcessArchivalData>
- Returns:
SubIndication
-