| Package | Description |
|---|---|
| one.edee.darwin.model | |
| one.edee.darwin.resources | |
| one.edee.darwin.storage |
| Modifier and Type | Class and Description |
|---|---|
class |
InitiatingPatch
Specific type of the patch that is used to gather patch id from the database.
|
| Modifier and Type | Method and Description |
|---|---|
Patch[] |
ResourcePatchMediator.getPatches(org.springframework.core.io.Resource[] resources,
String componentName,
Platform platform,
DarwinStorage darwinStorage,
StorageChecker storageChecker,
PatchType patchType) |
| Modifier and Type | Method and Description |
|---|---|
VersionDescriptor |
DefaultResourceNameAnalyzer.getVersionFromPatch(Patch patch) |
VersionDescriptor |
ResourceNameAnalyzer.getVersionFromPatch(Patch patch)
Analyzes name of patch and extracts version from its name.
|
| Modifier and Type | Method and Description |
|---|---|
Patch |
DefaultDatabaseDarwinStorage.getPatchByResourcePath(String resourcePath,
String componentName) |
Patch |
DarwinStorage.getPatchByResourcePath(String resourcePath,
String componentName)
Returns record for the patch by its path and component name in case it exists in database.
|
Patch |
DefaultDatabaseDarwinStorage.insertPatchToDatabase(String patchName,
String componentName,
LocalDateTime detectedOn,
Platform platform) |
Patch |
DarwinStorage.insertPatchToDatabase(String patchName,
String componentName,
LocalDateTime detectedOn,
Platform platform)
Inserts patch to db and returns its ID.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultDatabaseDarwinStorage.insertSqlScriptToDB(Patch patch,
SqlCommand sqlCommand) |
void |
DarwinStorage.insertSqlScriptToDB(Patch patch,
SqlCommand sqlCommand)
Inserts information about performed SQL command to database.
|
boolean |
DefaultDatabaseDarwinStorage.isPatchFinishedInDb(Patch patch) |
boolean |
DarwinStorage.isPatchFinishedInDb(Patch patch)
Tries to find record for the patch in internal database and looks for timestamp
Patch#getFinishedOn() that
signalizes that patch was successfully and entirely applied. |
void |
DefaultDatabaseDarwinStorage.markPatchAsFinished(Patch patch) |
void |
DarwinStorage.markPatchAsFinished(Patch patch)
Stores timestamp of the completely and successfully applied patch.
|
void |
DefaultDatabaseDarwinStorage.updateSqlScriptInDB(Patch patch,
SqlCommand sqlCommand) |
void |
DarwinStorage.updateSqlScriptInDB(Patch patch,
SqlCommand sqlCommand)
Updates information about performed SQL command in database.
|
Copyright © 2020 FG Forrest, a.s.. All rights reserved.