public static final class RollbackLastPatch.Builder extends Object
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
RollbackLastPatch |
build() |
RollbackLastPatch.Builder |
overrideAll(boolean overrideAll)
Sets whether all conflicts should be automatically resolved by overriding.
|
RollbackLastPatch.Builder |
overrideModules(boolean overrideModules)
Sets whether modules shall be overridden when there is conflict in the module.
|
RollbackLastPatch.Builder |
overridePaths(String... pathsToOverride)
Adds specified paths to the list of paths which shall be overridden.
|
RollbackLastPatch.Builder |
preservePaths(String... pathsToPreserve)
Adds paths to list of paths which should be preserved.
|
RollbackLastPatch.Builder |
resetConfiguration(boolean resetConfiguration)
Sets whether the rollback operation should reset the installation configurations to their state
before the patch was applied.
|
public RollbackLastPatch.Builder resetConfiguration(boolean resetConfiguration)
public RollbackLastPatch.Builder overrideAll(boolean overrideAll)
public RollbackLastPatch.Builder overrideModules(boolean overrideModules)
public RollbackLastPatch.Builder overridePaths(String... pathsToOverride)
--override option of the patch apply CLI command.public RollbackLastPatch.Builder preservePaths(String... pathsToPreserve)
--preserve option of the patch apply CLI command.public RollbackLastPatch build()
Copyright © 2022. All rights reserved.