Package eu.europa.esig.dss.policy
Class TimeConstraintWrapper
java.lang.Object
eu.europa.esig.dss.policy.LevelConstraintWrapper
eu.europa.esig.dss.policy.TimeConstraintWrapper
- All Implemented Interfaces:
DurationRule
,LevelRule
Wraps
eu.europa.esig.dss.policy.jaxb.TimeConstraint
into a eu.europa.esig.dss.model.policy.DurationRule
-
Field Summary
Fields inherited from class eu.europa.esig.dss.policy.LevelConstraintWrapper
constraint
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class eu.europa.esig.dss.policy.LevelConstraintWrapper
getConstraint, getLevel
-
Constructor Details
-
TimeConstraintWrapper
Default constructor- Parameters:
constraint
-TimeConstraint
-
-
Method Details
-
getDuration
public long getDuration()Description copied from interface:DurationRule
Gets the duration period in milliseconds- Specified by:
getDuration
in interfaceDurationRule
- Returns:
- duration period in milliseconds
-