Modifier and Type | Class and Description |
---|---|
class |
ContentConflictsException
The exception is thrown when a patch could not be applied or
rolled back because of the content conflicts.
|
Modifier and Type | Method and Description |
---|---|
PatchingException |
PatchMessages.alreadyApplied(String patchId) |
PatchingException |
PatchMessages.cannotRollbackPatch(String id) |
PatchingException |
PatchMessages.doesNotApply(String appliesTo,
String version) |
PatchingException |
PatchMessages.failedToResolvePatch(String product,
String version) |
PatchingException |
PatchMessages.incompatiblePatch(String patchId) |
PatchingException |
PatchMessages.invalidRollbackInformation() |
PatchingException |
PatchMessages.noSuchLayer(String name) |
PatchingException |
PatchMessages.patchNotFoundInHistory(String patchId) |
PatchingException |
PatchMessages.requiresPatch(String patchId) |
Modifier and Type | Method and Description |
---|---|
void |
InstallationManager.InstallationModification.addInstalledPatch(String patchId)
Add a patch to the installed list.
|
void |
InstallationManager.InstallationModification.removeInstalledPatch(String patchId)
Remove a patch from the installed list.
|
Modifier and Type | Method and Description |
---|---|
Patch |
PatchMetadataResolver.resolvePatch(String name,
String version)
Resolve a for a given product name and version.
|
Patch |
PatchBuilder.resolvePatch(String name,
String version) |
Modifier and Type | Method and Description |
---|---|
protected PatchingResult |
PatchToolImpl.apply(PatchMetadataResolver patchResolver,
PatchContentProvider contentProvider,
ContentVerificationPolicy contentPolicy) |
PatchingResult |
PatchToolImpl.applyPatch(File file,
ContentVerificationPolicy contentPolicy) |
PatchingResult |
PatchToolImpl.applyPatch(InputStream is,
ContentVerificationPolicy contentPolicy) |
PatchingResult |
PatchToolImpl.applyPatch(URL url,
ContentVerificationPolicy contentPolicy) |
protected PatchingResult |
PatchToolImpl.applyPatchBundle(File workDir,
BundledPatch bundledPatch,
ContentVerificationPolicy contentPolicy) |
protected PatchingResult |
PatchToolImpl.execute(File workDir,
ContentVerificationPolicy contentPolicy) |
PatchingResult |
PatchToolImpl.rollback(String patchId,
ContentVerificationPolicy contentPolicy,
boolean rollbackTo,
boolean resetConfiguration) |
PatchingResult |
PatchToolImpl.rollbackLast(ContentVerificationPolicy contentPolicy,
boolean resetConfiguration) |
Modifier and Type | Method and Description |
---|---|
static void |
PatchOperationTarget.formatFailedResponse(PatchingException e,
org.jboss.dmr.ModelNode failureDescription) |
Modifier and Type | Method and Description |
---|---|
PatchingResult |
PatchTool.applyPatch(File file,
ContentVerificationPolicy contentPolicy)
Apply a patch.
|
PatchingResult |
PatchTool.applyPatch(InputStream is,
ContentVerificationPolicy contentPolicy)
Apply a patch.
|
PatchingResult |
PatchTool.applyPatch(URL url,
ContentVerificationPolicy contentPolicy)
Apply a patch.
|
org.jboss.dmr.ModelNode |
PatchingHistory.getHistory()
Returns the history as a list of ModelNode's
Entry node has the following attributes:
- patch-id - the id of the patch;
- type - the type of the patch (cumulative or one-off);
- applied-at - a timestamp the patch was applied at.
|
static org.jboss.dmr.ModelNode |
PatchingHistory.Factory.getHistory(InstalledIdentity installedImage,
PatchableTarget.TargetInfo info) |
org.jboss.dmr.ModelNode |
PatchingHistory.getHistory(PatchableTarget.TargetInfo info)
Same as getHistory() but for the specified target,
i.e.
|
PatchingHistory.Iterator |
PatchingHistory.iterator()
Returns an iterator over the history.
|
PatchingHistory.Iterator |
PatchingHistory.iterator(PatchableTarget.TargetInfo info)
Same as iterator() but starting from a specific point.
|
PatchingResult |
PatchTool.rollback(String patchId,
ContentVerificationPolicy contentPolicy,
boolean rollbackTo,
boolean resetConfiguration)
Rollback a patch.
|
PatchingResult |
PatchTool.rollbackLast(ContentVerificationPolicy contentPolicy,
boolean resetConfiguration)
Rollback the last applied patch.
|
Modifier and Type | Method and Description |
---|---|
void |
PatchingGarbageLocator.deleteInactiveContent()
Delete inactive contents.
|
List<File> |
PatchingGarbageLocator.getInactiveHistory()
Get the inactive history directories.
|
List<File> |
PatchingGarbageLocator.getInactiveOverlays()
Get the inactive overlay directories.
|
static void |
PatchHistoryValidations.validateRollbackState(String patchID,
InstalledIdentity identity)
Validate the consistency of patches to the point we rollback.
|
Copyright © 2014 JBoss by Red Hat. All rights reserved.