Interface VersionPredicate
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionGet the version interval representing the matched versions.Collection<? extends VersionPredicate.PredicateTerm> getTerms()Get all terms that have to be satisfied for this predicate to match.static VersionPredicatestatic Collection<VersionPredicate> parse(Collection<String> predicates)
-
Method Details
-
getTerms
Collection<? extends VersionPredicate.PredicateTerm> getTerms()Get all terms that have to be satisfied for this predicate to match.- Returns:
- Required predicate terms, empty if anything matches
-
getInterval
VersionInterval getInterval()Get the version interval representing the matched versions.- Returns:
- Covered version interval or null if nothing
-
parse
- Throws:
VersionParsingException
-
parse
static Collection<VersionPredicate> parse(Collection<String> predicates) throws VersionParsingException - Throws:
VersionParsingException
-