Package org.infinispan.cli.patching
Class PatchTool
- java.lang.Object
-
- org.infinispan.cli.patching.PatchTool
-
public class PatchTool extends Object
Creates/installs/removes patches- Since:
- 11.0
- Author:
- Tristan Tarrant <tristan@infinispan.org>
-
-
Field Summary
Fields Modifier and Type Field Description static StringPATCHES_DIRstatic StringPATCHES_FILE
-
Constructor Summary
Constructors Constructor Description PatchTool(PrintStream out, PrintStream err)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreatePatch(String qualifier, Path patch, Path target, Path... sources)voiddescribePatch(Path patch, boolean verbose)voidinstallPatch(Path patch, Path target, boolean dryRun)voidlistPatches(Path target, boolean verbose)voidrollbackPatch(Path target, boolean dryRun)
-
-
-
Field Detail
-
PATCHES_DIR
public static final String PATCHES_DIR
- See Also:
- Constant Field Values
-
PATCHES_FILE
public static final String PATCHES_FILE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PatchTool
public PatchTool(PrintStream out, PrintStream err)
-
-
Method Detail
-
createPatch
public void createPatch(String qualifier, Path patch, Path target, Path... sources) throws IOException
- Throws:
IOException
-
describePatch
public void describePatch(Path patch, boolean verbose) throws IOException
- Throws:
IOException
-
listPatches
public void listPatches(Path target, boolean verbose)
-
installPatch
public void installPatch(Path patch, Path target, boolean dryRun) throws IOException
- Throws:
IOException
-
rollbackPatch
public void rollbackPatch(Path target, boolean dryRun) throws IOException
- Throws:
IOException
-
-