Package org.verapdf.pdfa.results
Interface TestAssertion
-
public interface TestAssertionA TestAssertion records the result of performing a validation test on a particular document property, or set of properties.- Author:
- Carl Wilson
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTestAssertion.StatusEnum that indicates the result of a particular test assertion, i.e.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>getErrorArguments()StringgetErrorMessage()LocationgetLocation()StringgetLocationContext()StringgetMessage()intgetOrdinal()RuleIdgetRuleId()TestAssertion.StatusgetStatus()
-
-
-
Method Detail
-
getOrdinal
int getOrdinal()
- Returns:
- the ordinal for the instance
-
getRuleId
RuleId getRuleId()
- Returns:
- the String id for the
org.verapdf.pdfa.validation.Rulethat this assertion refers to
-
getStatus
TestAssertion.Status getStatus()
- Returns:
- the
TestAssertion.Statusthat indicates the result of this test assertion
-
getMessage
String getMessage()
- Returns:
- any message that accompanies this assertion.
-
getLocationContext
String getLocationContext()
- Returns:
- location context.
-
getErrorMessage
String getErrorMessage()
- Returns:
- error message.
-
getLocation
Location getLocation()
- Returns:
- the
Locationwithin the PDF document where this test was asserted.
-
-