public final class UpgradeContext extends Object
Constructor and Description |
---|
UpgradeContext(CallbackHandler handler)
Creates a new upgrade context for upgrading from the instance version (as
obtained from config/buildinfo) to the binary version.
|
Modifier and Type | Method and Description |
---|---|
UpgradeContext |
setAcceptLicenseMode(boolean isAcceptLicenseMode)
Sets the accept license mode.
|
UpgradeContext |
setForceUpgradeMode(boolean isForceUpgradeMode)
Sets the force upgrade mode.
|
UpgradeContext |
setIgnoreErrorsMode(boolean isIgnoreErrorsMode)
Sets the ignore errors mode.
|
UpgradeContext |
setInteractiveMode(boolean isInteractiveMode)
Sets the interactive mode.
|
String |
toString() |
public UpgradeContext(CallbackHandler handler) throws InitializationException
handler
- The call-back handler for interacting with the upgrade
application.InitializationException
- If an error occurred while reading or parsing the version.public UpgradeContext setIgnoreErrorsMode(boolean isIgnoreErrorsMode)
isIgnoreErrorsMode
- true
if ignore error mode is activated.public UpgradeContext setAcceptLicenseMode(boolean isAcceptLicenseMode)
isAcceptLicenseMode
- true
if the accept license mode is activated.public UpgradeContext setInteractiveMode(boolean isInteractiveMode)
isInteractiveMode
- true
if the interactive mode is activated.public UpgradeContext setForceUpgradeMode(boolean isForceUpgradeMode)
isForceUpgradeMode
- true
if the force upgrade mode is activated.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.