public class Patch extends Object
| Constructor and Description |
|---|
Patch(Integer patchId,
String patchName,
String componentName,
LocalDateTime detectedOn,
Platform platform) |
Patch(Integer patchId,
String patchName,
String componentName,
LocalDateTime detectedOn,
Platform platform,
LocalDateTime finishedOn) |
Patch(String patchName,
String componentName,
Platform platform,
LocalDateTime detectedOn) |
| Modifier and Type | Method and Description |
|---|---|
String |
getResourcesPath()
Returns path to the patch contents.
|
boolean |
isInDb()
Returns true if information about the patch is already present in database.
|
public Patch(Integer patchId, String patchName, String componentName, LocalDateTime detectedOn, Platform platform)
patchName - name of current patch, for example 1.0.4componentName - id for which component patch isdetectedOn - time when was patch found on classpathplatform - for what platform patch is, for example MySQLpublic Patch(Integer patchId, String patchName, String componentName, LocalDateTime detectedOn, Platform platform, LocalDateTime finishedOn)
patchName - name of current patch, for example 1.0.4componentName - id for which component patch isdetectedOn - time when was patch found on classpathplatform - for what platform patch is, for example MySQLfinishedOn - date and time patch was successfully applied to databasepublic Patch(String patchName, String componentName, Platform platform, LocalDateTime detectedOn)
patchName - name of current patch, for example 1.0.4componentName - id for which component patch isplatform - for what platform patch is, for example MySQLdetectedOn - time when was patch found on classpathpublic boolean isInDb()
public String getResourcesPath()
Copyright © 2020 FG Forrest, a.s.. All rights reserved.