public static interface InstallationManager.MutablePatchingTarget extends PatchableTarget.TargetInfo
Modifier and Type | Method and Description |
---|---|
void |
apply(String patchId,
Patch.PatchType patchType)
Apply a patch.
|
PatchableTarget.TargetInfo |
getModifiedState()
Get the modified state.
|
boolean |
isApplied(String patchId)
Check whether a patch is applied.
|
boolean |
isRolledback(String patchId)
Checks whether the specified patch id was rolled back in the current process.
|
void |
rollback(String patchId)
Rollback an applied patch.
|
getCumulativePatchID, getDirectoryStructure, getPatchIDs, getProperties
void rollback(String patchId)
patchId
- the patch id to rollbackboolean isRolledback(String patchId)
patchId
- patch is to checkvoid apply(String patchId, Patch.PatchType patchType)
patchId
- the patch idpatchType
- the patch typeboolean isApplied(String patchId)
patchId
- the patch idtrue
if the given patch is currently applied, false
otherwisePatchableTarget.TargetInfo getModifiedState()
Copyright © 2023 JBoss by Red Hat. All rights reserved.