com.atlassian.bamboo.webwork
Class StarterAction
java.lang.Object
ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.webwork.AbstractAction
com.atlassian.bamboo.webwork.StarterAction
- All Implemented Interfaces:
- ErrorCollection, BambooSessionAware, ReturnUrlAware
public class StarterAction
- extends AbstractAction
This class decides which starter page should be deisplayed on the web site.
If the application has not been configured, it displays the Configuration wizard.
Otherwise it displays the default home page.
Field Summary |
static String |
WIZARD
Webwork label state we want to display the wizard view |
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 |
WIZARD
public static final String WIZARD
- Webwork label state we want to display the wizard view
- See Also:
- Constant Field Values
StarterAction
public StarterAction()
doExecute
public String doExecute()
throws Exception
- Return the page to display
- Overrides:
doExecute
in class AbstractAction
- Returns:
- The WebWork view name
- Throws:
Exception
- Generic exception
getNumberOfInstalledBuilders
public int getNumberOfInstalledBuilders()
- Tell the GUI how many installed builders we have
- Returns:
- The number!
getPipelines
public Collection getPipelines()
isFavourite
public boolean isFavourite(Build build)
getBuilds
public Collection getBuilds()
getFavouriteBuilds
public Collection getFavouriteBuilds()
getResponsibleForBuilds
public Collection getResponsibleForBuilds()
- Can probably write this logic better.
- Returns:
getAuthor
public Author getAuthor()
setPipelineManager
public void setPipelineManager(PipelineManager pipelineManager)
setLabelManager
public void setLabelManager(LabelManager labelManager)
setExtendedAuthorManager
public void setExtendedAuthorManager(ExtendedAuthorManager extendedAuthorManager)
setBuildResultsSummaryManager
public void setBuildResultsSummaryManager(BuildResultsSummaryManager buildResultsSummaryManager)
Copyright © 2006 Atlassian Software Systems. All Rights Reserved.