|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface UpgradeManager
This manager is responsible for all things related to upgrades for Crowd. Upgrades are performed by
UpgradeTask's and are associated to a given build number.
| Method Summary | |
|---|---|
java.util.Collection<java.lang.String> |
doUpgrade()
Method to fire off the upgrade process |
int |
getDataBuildNumber()
This gets the pre-build number. |
java.util.List<UpgradeTask> |
getRequiredUpgrades()
|
boolean |
needUpgrade()
Determines whether we need to run the upgrade or not. |
| Method Detail |
|---|
boolean needUpgrade()
boolean whether the build was successful or notjava.util.List<UpgradeTask> getRequiredUpgrades()
java.util.Collection<java.lang.String> doUpgrade()
throws java.lang.Exception
Collection a string collection of error messages. Collection not empty
denotes error occurred on upgrade
java.lang.Exception - error occured during upgrade.int getDataBuildNumber()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||