|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface UpgradeManager
Manager to provide upgrade services
Method Summary | |
---|---|
java.util.List<java.lang.String> |
doUpgrade(boolean partOfSetup)
Method to fire off the upgrade process |
java.lang.String |
getBuildNumber()
This gets the pre-build number |
boolean |
isFullReindexWhenUpgradesFinish()
|
boolean |
needUpgrade()
Determines whether we need to run the upgrade or not. |
void |
setFullReindexWhenUpgradesFinish(boolean fullReindexWhenUpgradesFinish)
Marks that the UpgradeManger should do a full reindex when all upgrades have finished successfully |
Method Detail |
---|
boolean needUpgrade()
boolean
whether the build was successful or not@NotNull java.util.List<java.lang.String> doUpgrade(boolean partOfSetup) throws java.lang.Exception
partOfSetup
- - whether or not the upgrade is being run as part of the setup
Collection
a string collection of error messages. Collection not empty
denotes error occurred on upgrade
java.lang.Exception
@NotNull java.lang.String getBuildNumber()
boolean isFullReindexWhenUpgradesFinish()
void setFullReindexWhenUpgradesFinish(boolean fullReindexWhenUpgradesFinish)
fullReindexWhenUpgradesFinish
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |