Class RuleDescription
java.lang.Object
org.verapdf.metadata.fixer.utils.model.RuleDescription
Class represent description of the rule. Each rule must be
defined by applied object type and test condition
or null test (to define all tests for specific object).
- Author:
- Evgeniy Muravitskiy
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
RuleDescription
Default constructor.- Parameters:
test
- test condition for current object typeobjectType
- applied object type
-
-
Method Details
-
getObjectType
- Returns:
- applied object type
-
getTest
- Returns:
- test condition for current object type
-
compareTo
Compare string representation of rule description with current rule description- Parameters:
toCompareType
- passed object type of another rule descriptiontoCompareTest
- passed test of another rule description- Returns:
- true if
objectType
andtest
are match
-