public static class PatchOperationBuilder.Factory extends Object
Modifier and Type | Method and Description |
---|---|
static PatchOperationBuilder |
history()
Get the patching history.
|
static PatchOperationBuilder |
info()
Get the current patch info.
|
static PatchOperationBuilder |
patch(File file)
Create a patch builder.
|
static PatchOperationBuilder |
rollback(String patchId,
boolean rollbackTo,
boolean resetConfiguration)
Create the rollback builder.
|
static PatchOperationBuilder |
rollbackLast(boolean resetConfiguration)
Create a builder to rollback the last applied patch.
|
public static PatchOperationBuilder info()
public static PatchOperationBuilder history()
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 rollbackLast(boolean resetConfiguration)
resetConfiguration
- whether to reset the configuration to the previous statepublic static PatchOperationBuilder patch(File file)
file
- the patch fileCopyright © 2015 JBoss by Red Hat. All rights reserved.