T - the class used as result. The selected class must extend XmlConstraintsConclusion which contains
some constraints and a conclusion.public abstract class Chain<T extends eu.europa.esig.dss.jaxb.detailedreport.XmlConstraintsConclusion> extends Object
ChainItem (constraints) to
execute.
The chain is builded as follow with the method ChainItem.setNextItem(eu.europa.esig.dss.validation.process.ChainItem<T>).ChainItem| Modifier and Type | Field and Description |
|---|---|
protected ChainItem<T> |
firstItem
The first item to execute the chain
|
protected T |
result
The result object : a sub-class of
XmlConstraintsConclusion |
| Modifier | Constructor and Description |
|---|---|
protected |
Chain(T newInstance)
Common constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addAdditionalInfo() |
protected void |
collectErrorsWarnsInfos() |
T |
execute()
This method allows to initialize and execute the complete chain until the first failure.
|
protected eu.europa.esig.jaxb.policy.LevelConstraint |
getFailLevelConstraint() |
protected eu.europa.esig.jaxb.policy.LevelConstraint |
getInfoLevelConstraint() |
protected eu.europa.esig.jaxb.policy.LevelConstraint |
getWarnLevelConstraint() |
protected abstract void |
initChain() |
protected final T extends eu.europa.esig.dss.jaxb.detailedreport.XmlConstraintsConclusion result
XmlConstraintsConclusionprotected Chain(T newInstance)
newInstance - a new instance of the result objectpublic T execute()
protected void addAdditionalInfo()
protected abstract void initChain()
protected eu.europa.esig.jaxb.policy.LevelConstraint getFailLevelConstraint()
protected eu.europa.esig.jaxb.policy.LevelConstraint getWarnLevelConstraint()
protected eu.europa.esig.jaxb.policy.LevelConstraint getInfoLevelConstraint()
protected void collectErrorsWarnsInfos()
Copyright © 2018. All rights reserved.