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.
The 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
FieldsModifier and TypeFieldDescriptionstatic final IVersionCheckerA strict version checker that requires an exact match of the full version strings. -
Method Summary
Modifier and TypeMethodDescriptionbooleanisCompatibleVersion(String oldVersion, String newVersion) Returns true if the new version is compatible to the old version or both versions are equal
-
Field Details
-
STRICT
A strict version checker that requires an exact match of the full version strings.
-
-
Method Details
-
isCompatibleVersion
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
-