com.atlassian.bamboo.ww2.actions.setup
Class SetupDataAction

java.lang.Object
  extended by ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.ww2.actions.setup.AbstractSetupAction
              extended by com.atlassian.bamboo.ww2.actions.setup.SetupDataAction
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, ReturnUrlAware

public class SetupDataAction
extends AbstractSetupAction

SetupDataAction: Sets up data within Confluence behind the scenes, i.e. configures confluence.cfg.xml, and allows the user to choose whether or not they would like to install demo content, restore from a previous export, or start fresh.


Field Summary
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
buildManager, CONFIRM, cookieCutter
 
Constructor Summary
SetupDataAction()
           
 
Method Summary
 String execute()
           
 String getContentChoice()
           
 ArrayList getContentChoiceList()
           
 void setContentChoice(String contentChoice)
           
 
Methods inherited from class com.atlassian.bamboo.ww2.actions.setup.AbstractSetupAction
getBootstrapManager, getSetupPersister, getSetupTypeInstall, setSetupPersister, setSetupTypeInstall
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
addError, addError, addErrorCollection, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, doDefault, doesLabelKeyHaveMatchingDescription, getAsPreformattedText, getBamboo, 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

SetupDataAction

public SetupDataAction()
Method Detail

execute

public String execute()
               throws Exception
Throws:
Exception

getContentChoiceList

public ArrayList getContentChoiceList()

getContentChoice

public String getContentChoice()

setContentChoice

public void setContentChoice(String contentChoice)


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.