com.atlassian.bamboo.configuration.wizard
Class WelcomeWizard

java.lang.Object
  extended by ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.webwork.AbstractAction
              extended by com.atlassian.bamboo.configuration.wizard.WelcomeWizard
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, ReturnUrlAware

public class WelcomeWizard
extends AbstractAction

Lets the user choose the installation mechinism - new or upgrade.


Field Summary
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
buildManager, CONFIRM, cookieCutter
 
Constructor Summary
WelcomeWizard()
           
 
Method Summary
 String doExecute()
          Return the correct screen to handle the installation type
 void setInstallationType(String installationType)
          The Users chooses their prefered type of installation.
 
Methods inherited from class com.atlassian.bamboo.webwork.AbstractAction
addFormErrors, doDefault, execute, getAction, getAdministrationConfiguration, getBamboo, getBaseUrl, setAdministrationConfiguration, validate
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
addError, addError, addErrorCollection, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, doesLabelKeyHaveMatchingDescription, getAsPreformattedText, getBambooSession, getBreadCrumbs, getBuildManager, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentUrl, getDescriptionFromLabelKey, getFlushedErrorMessages, getReturnUrl, getUser, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, hasAnyErrors, hasBuilds, hasPerm, isEnableSignup, isSelectFieldAndNull, setAuthenticationContext, setBambooPermissionManager, setBuildManager, setCookieCutter, setErrorMessages, setHtmlUtils, setReturnUrl, setWebInterfaceManager, setWebResourceManager
 
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
 

Constructor Detail

WelcomeWizard

public WelcomeWizard()
Method Detail

setInstallationType

public void setInstallationType(String installationType)
The Users chooses their prefered type of installation.

Parameters:
installationType - "new" or "existing".

doExecute

public String doExecute()
                 throws Exception
Return the correct screen to handle the installation type

Overrides:
doExecute in class AbstractAction
Returns:
The installation type page
Throws:
Exception - something nasty went wrong


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.