public class ChangeLogVersionFinder extends Object
Constructor and Description |
---|
ChangeLogVersionFinder()
The default constructor initialises the default provider of change log versions.
|
ChangeLogVersionFinder(ChangeLogVersions changeLogVersions)
Allows to inject a mock provider of change log versions for unit testing.
|
Modifier and Type | Method and Description |
---|---|
SortedMap<String,List<String>> |
getChangeLogCombinations() |
Optional<String> |
getLatestCoreDataSnapshotFilename() |
Optional<String> |
getLatestSchemaSnapshotFilename() |
Optional<String> |
getLatestSnapshotVersion() |
SortedMap<String,List<String>> |
getSnapshotCombinations() |
List<String> |
getSnapshotFilenames(String version) |
List<String> |
getUpdateFileNames(List<String> versions) |
List<String> |
getUpdateVersionsGreaterThan(String otherVersion) |
public ChangeLogVersionFinder()
public ChangeLogVersionFinder(ChangeLogVersions changeLogVersions)
changeLogVersions
- a provider of change log versions.Copyright © 2024 OpenMRS Inc.. All rights reserved.