Package org.faktorips.runtime
Interface IVersionChecker
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface IVersionCheckerThe modification checker holds a version or time stamp for the version or time it is up to date. You could ask the modification checker whether a given version or time stamp is expired and you could get the actual version.- Author:
- dirmeier
-
-
Field Summary
Fields Modifier and Type Field Description static IVersionCheckerSTRICTA strict version checker that requires an exact match of the full version strings.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisCompatibleVersion(java.lang.String oldVersion, java.lang.String newVersion)Returns true if the new version is compatible to the old version or both versions are equal
-
-
-
Field Detail
-
STRICT
static final IVersionChecker STRICT
A strict version checker that requires an exact match of the full version strings.
-
-
Method Detail
-
isCompatibleVersion
boolean isCompatibleVersion(java.lang.String oldVersion, java.lang.String newVersion)Returns true if the new version is compatible to the old version or both versions are equal- Parameters:
oldVersion- the old versionnewVersion- the new version- Returns:
- true if versions are compatible
-
-