public interface UpgradeTask
Modifier and Type | Interface and Description |
---|---|
static class |
UpgradeTask.TaskType
Defines the different types of upgrade tasks.
|
Modifier and Type | Method and Description |
---|---|
void |
perform(UpgradeContext context)
Performs this upgrade task.
|
void |
postponePostUpgrade(UpgradeContext context)
This method will be invoked only if one of the previous post upgrade task
has failed.
|
void |
postUpgrade(UpgradeContext context)
This method will be invoked after all upgrade tasks have completed
successfully The post upgrade tasks are processes which should be launched
after a successful upgrade.
|
void |
prepare(UpgradeContext context)
Performs any preparation work required before performing the upgrade task, including
interacting with the user where needed (e.g.
|
void prepare(UpgradeContext context) throws com.forgerock.opendj.cli.ClientException
ClientException
if the upgrade cannot proceed.context
- Context through which tasks can interact with the server installation.com.forgerock.opendj.cli.ClientException
- If the upgrade cannot proceed.void perform(UpgradeContext context) throws com.forgerock.opendj.cli.ClientException
context
- Context through which tasks can interact with the server installation.com.forgerock.opendj.cli.ClientException
- If an error occurred while performing the task.void postUpgrade(UpgradeContext context) throws com.forgerock.opendj.cli.ClientException
context
- Context through which tasks can interact with the server
installation.com.forgerock.opendj.cli.ClientException
- If the task cannot proceed.void postponePostUpgrade(UpgradeContext context) throws com.forgerock.opendj.cli.ClientException
context
- Context through which tasks can interact with the server
installation.com.forgerock.opendj.cli.ClientException
- If the task cannot proceed.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.