public interface UpgradeGate
Modifier and Type | Method and Description |
---|---|
boolean |
isPluginDependentUpgradeCompleteWithWait()
Check is the plugin dependent upgrades have been completed.
|
boolean |
isUpgradeRequiredWithWait()
Check the upgrade status set via
setUpgradeRequired(boolean) . |
void |
setPluginDependentUpgradeComplete(boolean complete) |
void |
setUpgradeRequired(boolean required) |
void setUpgradeRequired(boolean required)
required
- if true then an upgrade is required.void setPluginDependentUpgradeComplete(boolean complete)
complete
- if true then the plugin dependent upgrade is finished, otherwise it is not yet complete.boolean isUpgradeRequiredWithWait()
setUpgradeRequired(boolean)
. If it has not been set yet then the caller
will keep trying for #UPGRADE_REQUIRED_CHECK_ATTEMPTS
* #UPGRADE_REQUIRED_CHECK_SLEEP
milliseconds before
returning a default value of false.boolean isPluginDependentUpgradeCompleteWithWait()
#WAIT_FOR_OTHER_NODE_UPGRADE_ATTEMPTS
* #WAIT_FOR_OTHER_NODE_UPGRADE_SLEEP
milliseconds before
returning a default value of false.Copyright © 2003–2017 Atlassian. All rights reserved.