Class CurrentTimeIndicationCheck
java.lang.Object
eu.europa.esig.dss.validation.process.ChainItem<XmlPSV>
eu.europa.esig.dss.validation.process.vpfswatsp.checks.psv.checks.CurrentTimeIndicationCheck
Checks if the current state is PASSED
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.ChainItem
i18nProvider -
Constructor Summary
ConstructorsConstructorDescriptionCurrentTimeIndicationCheck(I18nProvider i18nProvider, XmlPSV result, eu.europa.esig.dss.enumerations.Indication indication, eu.europa.esig.dss.enumerations.SubIndication subIndication, List<XmlMessage> errors, LevelConstraint constraint) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected MessageTagReturns an i18n key String of an error message to getprotected eu.europa.esig.dss.enumerations.IndicationGets an Indication in case of failureprotected eu.europa.esig.dss.enumerations.SubIndicationGets a SubIndication in case of failureprotected MessageTagReturns an i18n key String of a message to getprotected List<XmlMessage>Return a list of previous errors occurred in the chainprotected booleanprocess()Performs the checkMethods inherited from class eu.europa.esig.dss.validation.process.ChainItem
buildAdditionalInfo, buildConstraintMessage, buildErrorMessage, buildXmlMessage, execute, getAdditionalInfo, getBlockType, getLevel, getSuccessIndication, getSuccessSubIndication, isIndeterminateConclusion, isInvalidConclusion, isValid, isValidConclusion, setNextItem
-
Constructor Details
-
CurrentTimeIndicationCheck
public CurrentTimeIndicationCheck(I18nProvider i18nProvider, XmlPSV result, eu.europa.esig.dss.enumerations.Indication indication, eu.europa.esig.dss.enumerations.SubIndication subIndication, List<XmlMessage> errors, LevelConstraint constraint) Default constructor- Parameters:
i18nProvider-I18nProviderresult-XmlPSVindication-IndicationsubIndication-SubIndicationerrors- a list ofXmlMessagesconstraint-LevelConstraint
-
-
Method Details
-
process
protected boolean process()Description copied from class:ChainItemPerforms the check -
getMessageTag
Description copied from class:ChainItemReturns an i18n key String of a message to get- Overrides:
getMessageTagin classChainItem<XmlPSV>- Returns:
MessageTagkey
-
getErrorMessageTag
Description copied from class:ChainItemReturns an i18n key String of an error message to get- Overrides:
getErrorMessageTagin classChainItem<XmlPSV>- Returns:
MessageTagkey
-
getFailedIndicationForConclusion
protected eu.europa.esig.dss.enumerations.Indication getFailedIndicationForConclusion()Description copied from class:ChainItemGets an Indication in case of failure- Specified by:
getFailedIndicationForConclusionin classChainItem<XmlPSV>- Returns:
Indication
-
getFailedSubIndicationForConclusion
protected eu.europa.esig.dss.enumerations.SubIndication getFailedSubIndicationForConclusion()Description copied from class:ChainItemGets a SubIndication in case of failure- Specified by:
getFailedSubIndicationForConclusionin classChainItem<XmlPSV>- Returns:
SubIndication
-
getPreviousErrors
Description copied from class:ChainItemReturn a list of previous errors occurred in the chain- Overrides:
getPreviousErrorsin classChainItem<XmlPSV>- Returns:
- a list of
XmlMessages
-