public static interface InstallationManager.InstallationModification extends InstallationManager.MutablePatchingTarget
| Modifier and Type | Method and Description |
|---|---|
void |
addInstalledPatch(String patchId)
Add a patch to the installed list.
|
void |
cancel()
Cancel the modifications.
|
void |
complete()
Complete the modifications.
|
String |
getName()
Get the identity name.
|
InstalledIdentity |
getUnmodifiedInstallationState()
Get the unmodified state.
|
String |
getVersion()
Get the current version of the identity.
|
void |
removeInstalledPatch(String patchId)
Remove a patch from the installed list.
|
InstallationManager.MutablePatchingTarget |
resolve(String name,
LayerType type)
Resolve a target for patching.
|
void |
setResultingVersion(String version)
Set the resulting version.
|
apply, getModifiedState, isApplied, rollbackgetCumulativePatchID, getDirectoryStructure, getPatchIDs, getPropertiesString getName()
String getVersion()
void setResultingVersion(String version)
version - the resulting versionvoid addInstalledPatch(String patchId) throws PatchingException
patchId - the patch idPatchingExceptionvoid removeInstalledPatch(String patchId) throws PatchingException
patchId - the patch idPatchingExceptionInstalledIdentity getUnmodifiedInstallationState()
InstallationManager.MutablePatchingTarget resolve(String name, LayerType type)
name - the layer nametype - the layer typevoid complete()
void cancel()
Copyright © 2014 JBoss by Red Hat. All rights reserved.