|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface VersionUpgrader
Provides the interface persistent data upgrade process must support
| Field Summary | |
|---|---|
static int |
CURRENT_VERSION
The latest bamboo configuration/build data version |
| Method Summary | |
|---|---|
void |
clearStatusMessages()
|
int |
getCurrentVersion()
Returns the actual version of the current version. |
int |
getPercentageComplete()
|
String |
getUpgradeStatusMessage()
|
void |
setBuildDir(File buildDir)
Where's the build data files that need updating? |
void |
setDataDirectory(File dataDirectory)
Where's the configuration data files that need updating? |
void |
updateToCurrentVersion()
Do the upgrade |
| Field Detail |
|---|
static final int CURRENT_VERSION
| Method Detail |
|---|
void updateToCurrentVersion()
void setBuildDir(File buildDir)
buildDir - The bamboo build data directoryvoid setDataDirectory(File dataDirectory)
dataDirectory - The bamboo configuration data directoryint getCurrentVersion()
String getUpgradeStatusMessage()
int getPercentageComplete()
void clearStatusMessages()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||