public interface UpgradeDriverListener
Modifier and Type | Method and Description |
---|---|
void |
taskEnded(int task,
boolean returnValue)
Called when an upgrade driver task ends without throwing an exception.
|
void |
taskFailed(int task,
Throwable throwable)
Called when an upgrade driver task fails.
|
void |
taskPreconditionsVerified(int task)
Called when an upgrade driver task has successfully verified the
preconditions required by that task.
|
void |
taskStarted(int task)
Called when an upgrade driver task is started.
|
void taskStarted(int task)
An upgrade driver task is started by calling the
analyze
,
preUpgrade
,
upgrade
,
postUpgrade
,
or rollback
methods of UpgradeDriverManager.
task
- the task; one of void taskPreconditionsVerified(int task)
task
- the task; one of void taskFailed(int task, Throwable throwable)
The exception thrown by the UpgradeDriver
analyze
,
preUpgrade
,
upgrade
,
postUpgrade
,
or rollback
method is reported.
task
- the task; one of throwable
- the exception thrown by the UpgradeDriverManager
methodvoid taskEnded(int task, boolean returnValue)
The value returned by the UpgradeDriver
analyze
,
preUpgrade
,
upgrade
,
postUpgrade
,
or rollback
method is reported.
task
- the task; one of returnValue
- the value returned by the UpgradeDriverManager methodCopyright © 2023. All rights reserved.