public static final class RollbackPatch.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
RollbackPatch |
build() |
RollbackPatch.Builder |
overrideAll(boolean overrideAll)
Sets whether all conflicts should be automatically resolved by overriding.
|
RollbackPatch.Builder |
overrideModules(boolean overrideModules)
Sets whether modules shall be overridden when there is conflict in the module.
|
RollbackPatch.Builder |
overridePaths(String... pathsToOverride)
Adds specified paths to the list of paths which shall be overridden.
|
RollbackPatch.Builder |
preservePaths(String... pathsToPreserve)
Adds paths to list of paths which should be preserved.
|
RollbackPatch.Builder |
resetConfiguration(boolean resetConfiguration)
Sets whether the rollback operation should reset the installation configurations to their state
before the patch was applied.
|
RollbackPatch.Builder |
rollbackTo(boolean rollbackTo)
If the patch to rollback is a one-off patch, it signifies that the rollback operation will also rollback
all the other one-off patches that have been applied on top of the patch to rollback.
|
public Builder(String patchId)
public RollbackPatch.Builder resetConfiguration(boolean resetConfiguration)
public RollbackPatch.Builder rollbackTo(boolean rollbackTo)
public RollbackPatch.Builder overrideAll(boolean overrideAll)
public RollbackPatch.Builder overrideModules(boolean overrideModules)
public RollbackPatch.Builder overridePaths(String... pathsToOverride)
--override option of the patch apply CLI command.public RollbackPatch.Builder preservePaths(String... pathsToPreserve)
--preserve option of the patch apply CLI command.public RollbackPatch build()
Copyright © 2024. All rights reserved.