|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.webwork.AbstractAction
com.atlassian.bamboo.configuration.AbstractLicenseAction
com.atlassian.bamboo.configuration.wizard.UpgradeWizard
public class UpgradeWizard
This class accepts upgrade system configuration from the WelcomeWizard.
| Field Summary | |
|---|---|
static String |
UPGRADE
|
static String |
VALIDATE
|
| Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
|---|
buildManager, CONFIRM, cookieCutter |
| Constructor Summary | |
|---|---|
UpgradeWizard()
|
|
| Method Summary | |
|---|---|
String |
doDefault()
Initialise the wizard's default values |
String |
doExecute()
Places the current user on the page |
String |
getBuildDirectory()
|
int |
getCorrectVersion()
|
int |
getCurrentVersion()
|
FileBasedPersisterOptions |
getFilePersister()
Provide the GUI with the file persister |
boolean |
getShowLicenseBox()
Should the form display the license box? |
void |
setBuildDirectory(String buildDirectory)
|
void |
setShowLicense(String value)
Should the form display the license box? |
void |
validate()
Validate the persister. |
| Methods inherited from class com.atlassian.bamboo.configuration.AbstractLicenseAction |
|---|
getLicense, setLicense |
| Methods inherited from class com.atlassian.bamboo.webwork.AbstractAction |
|---|
addFormErrors, execute, getAction, getAdministrationConfiguration, getBamboo, getBaseUrl, setAdministrationConfiguration |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection |
|---|
getErrorMessages, getErrors, getFieldErrors |
| Field Detail |
|---|
public static final String UPGRADE
public static final String VALIDATE
| Constructor Detail |
|---|
public UpgradeWizard()
| Method Detail |
|---|
public FileBasedPersisterOptions getFilePersister()
public boolean getShowLicenseBox()
public void setShowLicense(String value)
value - "true" or "false"public String getBuildDirectory()
public void setBuildDirectory(String buildDirectory)
public void validate()
validate in class AbstractActionpublic String doDefault()
doDefault in class AbstractAction
public String doExecute()
throws Exception
AbstractAction
doExecute in class AbstractActionException - something nasty went wrongpublic int getCurrentVersion()
public int getCorrectVersion()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||