public final class PatchingOperations extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PatchingOperations.PatchHistoryEntry |
static class |
PatchingOperations.PatchInfo |
| Constructor and Description |
|---|
PatchingOperations(OnlineManagementClient client) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCumulativePatchId() |
String |
getCurrentServerVersion() |
List<PatchingOperations.PatchHistoryEntry> |
getHistory() |
PatchingOperations.PatchHistoryEntry |
getHistoryEntry(String patchId) |
List<String> |
getPatchesIds() |
PatchingOperations.PatchInfo |
getPatchInfo() |
boolean |
isAnyPatchInstalled() |
boolean |
isPatchInstalled(String patchId) |
public PatchingOperations(OnlineManagementClient client)
public List<PatchingOperations.PatchHistoryEntry> getHistory() throws IOException
nullIOExceptionpublic PatchingOperations.PatchHistoryEntry getHistoryEntry(String patchId) throws IOException
patchId - ID of the patch to look forIOExceptionpublic PatchingOperations.PatchInfo getPatchInfo() throws IOException
PatchInfo object; never nullIOExceptionpublic String getCumulativePatchId() throws IOException
null if no patch is installedIOException - when IO error occurspublic String getCurrentServerVersion() throws IOException
null when the "version" is undefinedIOException - when IO error occurspublic List<String> getPatchesIds() throws IOException
IOException - when IO error occurspublic boolean isAnyPatchInstalled()
throws IOException
IOException - when IO error occurspublic boolean isPatchInstalled(String patchId) throws IOException
patchId - patch id to checkIOException - when IO error occursCopyright © 2024. All rights reserved.