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