|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.wildfly.extras.creaper.commands.patching.ApplyPatch.Builder
public static final class ApplyPatch.Builder
| Constructor Summary | |
|---|---|
ApplyPatch.Builder(File patchFile)
|
|
ApplyPatch.Builder(String patchPath)
|
|
| Method Summary | |
|---|---|
ApplyPatch |
build()
|
ApplyPatch.Builder |
overrideAll(boolean overrideAll)
Sets whether all conflicts should be automatically resolved by overriding the data using those from patch. |
ApplyPatch.Builder |
overrideModules(boolean overrideModules)
Sets whether modules shall be overridden when there is conflict in the module. |
ApplyPatch.Builder |
overridePaths(String... pathsToOverride)
Adds specified paths to the list of paths which shall be overridden. |
ApplyPatch.Builder |
preservePaths(String... pathsToPreserve)
Adds paths to list of paths which should be preserved. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ApplyPatch.Builder(String patchPath)
patchPath - path to patch filepublic ApplyPatch.Builder(File patchFile)
patchFile - patch file| Method Detail |
|---|
public ApplyPatch.Builder overrideAll(boolean overrideAll)
public ApplyPatch.Builder overrideModules(boolean overrideModules)
public ApplyPatch.Builder overridePaths(String... pathsToOverride)
--override option of the patch apply CLI command.
public ApplyPatch.Builder preservePaths(String... pathsToPreserve)
--preserve option of the patch apply CLI command.
public ApplyPatch build()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||