|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wildfly.extras.creaper.commands.patching.RollbackPatch.Builder
public static final class RollbackPatch.Builder
| Constructor Summary | |
|---|---|
RollbackPatch.Builder(String patchId)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RollbackPatch.Builder(String patchId)
| Method Detail |
|---|
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||