|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.upgrade.impl.DefaultUpgradeGate
public class DefaultUpgradeGate
Method Summary | |
---|---|
boolean |
isPluginDependentUpgradeCompleteWithWait()
Check is the plugin dependent upgrades have been completed. |
boolean |
isUpgradeRequiredWithWait()
Check the upgrade status set via UpgradeGate.setUpgradeRequired(boolean) . |
void |
setPluginDependentUpgradeComplete(boolean complete)
|
void |
setUpgradeRequired(boolean required)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void setUpgradeRequired(boolean required)
setUpgradeRequired
in interface UpgradeGate
required
- if true then an upgrade is required.public void setPluginDependentUpgradeComplete(boolean complete)
setPluginDependentUpgradeComplete
in interface UpgradeGate
complete
- if true then the plugin dependent upgrade is finished, otherwise it is not yet complete.public boolean isUpgradeRequiredWithWait()
UpgradeGate
UpgradeGate.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.
isUpgradeRequiredWithWait
in interface UpgradeGate
public boolean isPluginDependentUpgradeCompleteWithWait()
UpgradeGate
#WAIT_FOR_OTHER_NODE_UPGRADE_ATTEMPTS
* #WAIT_FOR_OTHER_NODE_UPGRADE_SLEEP
milliseconds before
returning a default value of false.
isPluginDependentUpgradeCompleteWithWait
in interface UpgradeGate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |