Package com.yahoo.component
Class VersionCompatibility
java.lang.Object
com.yahoo.component.VersionCompatibility
Logic for what platform and compile versions are incompatible.
This class is instantiated with a list of versions which are only compatible with other versions
that are not older than themselves. Each entry in this list is represented by a string, and any
major, minor or micro with the value @{code *} means all versions are such boundaries.
Versions A, B are incompatible iff. there exists an incompatibility boundary X such that
(A ≥ X) ≠ (B ≥ X).
- Author:
- jonmv
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static VersionCompatibility
fromVersionList
(List<String> versions) boolean
-
Method Details
-
fromVersionList
-
accept
-
refuse
-