|
||||||||||
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.Collection |
doUpgrade(boolean partOfSetup)
Method to fire off the upgrade process |
java.lang.String |
getBuildNumber()
This gets the pre-build number |
java.util.SortedMap |
getUpgrades()
Gets a map of upgrade tasks which need to run. |
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 notjava.util.Collection 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 occured on upgrade
java.lang.Exception
java.lang.String getBuildNumber()
java.util.SortedMap getUpgrades()
SortedMap
map of upgrade tasks, keys are the string representations
of the build number.boolean isFullReindexWhenUpgradesFinish()
void setFullReindexWhenUpgradesFinish(boolean fullReindexWhenUpgradesFinish)
fullReindexWhenUpgradesFinish
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |