Package org.verapdf.pdfa.results
Interface TestAssertion
public interface TestAssertion
A 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 ClassesModifier and TypeInterfaceDescriptionstatic enumEnum that indicates the result of a particular test assertion, i.e. -
Method Summary
Modifier and TypeMethodDescriptionint
-
Method Details
-
getOrdinal
int getOrdinal()- Returns:
- the ordinal for the instance
-
getRuleId
RuleId getRuleId()- Returns:
- the String id for the
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.
-
getErrorArguments
List<ErrorArgument> getErrorArguments()- Returns:
- the list of error arguments
-