public interface StorageChecker
| Modifier and Type | Method and Description |
|---|---|
boolean |
existPatchAndSqlTable()
Looks at table schema and return true if tables DARWIN_PATCH and DARWIN_SQL exist
|
Platform |
getPlatform()
Returns platform of the storage.
|
boolean |
guessPatchAlreadyApplied(String componentName,
DarwinStorage darwinStorage,
VersionDescriptor checkedVersion)
Executes script that allows to guess if particular patch is already present in database.
|
VersionDescriptor |
guessVersion(String componentName,
DarwinStorage darwinStorage)
Executes script that allows to guess existing version of the data layer.
|
Platform getPlatform()
VersionDescriptor guessVersion(String componentName, DarwinStorage darwinStorage)
componentName - unique name of the componentdarwinStorage - storage implementationboolean guessPatchAlreadyApplied(String componentName, DarwinStorage darwinStorage, VersionDescriptor checkedVersion)
componentName - unique name of the componentdarwinStorage - storage implementationcheckedVersion - version identification that is required to be detected from the current DB schemaboolean existPatchAndSqlTable()
Copyright © 2020 FG Forrest, a.s.. All rights reserved.