Package com.yahoo.component
Class VersionCompatibility
- java.lang.Object
-
- com.yahoo.component.VersionCompatibility
-
public class VersionCompatibility extends Object
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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(Version first, Version second)
static VersionCompatibility
fromVersionList(List<String> versions)
boolean
refuse(Version first, Version second)
-