| | |
| | | * The call-back handler for interacting with the upgrade |
| | | * application. |
| | | */ |
| | | public UpgradeContext(final BuildVersion fromVersion, |
| | | private UpgradeContext(final BuildVersion fromVersion, |
| | | final BuildVersion toVersion, CallbackHandler handler) |
| | | { |
| | | this.fromVersion = fromVersion; |
| | |
| | | } |
| | | |
| | | /** |
| | | * Returns the callback handler. |
| | | * |
| | | * @return The actual callback handler. |
| | | */ |
| | | CallbackHandler getHandler() |
| | | { |
| | | return handler; |
| | | } |
| | | |
| | | /** |
| | | * Returns the status of the interactive mode. |
| | | * |
| | | * @return {@code true} if interactive mode is activated. |