public static class PatchOperationBuilder.Factory extends Object
Modifier and Type | Method and Description |
---|---|
static PatchOperationBuilder |
history()
Get the patching history.
|
static PatchOperationBuilder |
history(String patchStream) |
static PatchOperationBuilder |
info()
Get the current patch info.
|
static PatchOperationBuilder |
info(String patchStream) |
static PatchOperationBuilder |
info(String patchId,
boolean verbose)
Get the patch info for the specific patchId.
|
static PatchOperationBuilder |
info(String patchStream,
String patchId,
boolean verbose) |
static PatchOperationBuilder |
patch(File file)
Create a patch builder.
|
static PatchOperationBuilder |
rollback(String patchId,
boolean rollbackTo,
boolean resetConfiguration)
Create the rollback builder.
|
static PatchOperationBuilder |
rollback(String patchStream,
String patchId,
boolean rollbackTo,
boolean resetConfiguration) |
static PatchOperationBuilder |
rollbackLast(boolean resetConfiguration)
Create a builder to rollback the last applied patch.
|
static PatchOperationBuilder |
rollbackLast(String patchStream,
boolean resetConfiguration) |
static PatchOperationBuilder |
streams() |
public static PatchOperationBuilder streams()
public static PatchOperationBuilder info()
public static PatchOperationBuilder info(String patchStream)
public static PatchOperationBuilder info(String patchId, boolean verbose)
public static PatchOperationBuilder info(String patchStream, String patchId, boolean verbose)
public static PatchOperationBuilder history()
public static PatchOperationBuilder history(String patchStream)
public static PatchOperationBuilder rollback(String patchId, boolean rollbackTo, boolean resetConfiguration)
patchId
- the patch-id to rollbackrollbackTo
- rollback all one off patches until the given patch-idresetConfiguration
- whether to reset the configuration to the previous statepublic static PatchOperationBuilder rollback(String patchStream, String patchId, boolean rollbackTo, boolean resetConfiguration)
public static PatchOperationBuilder rollbackLast(boolean resetConfiguration)
resetConfiguration
- whether to reset the configuration to the previous statepublic static PatchOperationBuilder rollbackLast(String patchStream, boolean resetConfiguration)
public static PatchOperationBuilder patch(File file)
file
- the patch fileCopyright © 2023 JBoss by Red Hat. All rights reserved.