com.atlassian.bamboo.webwork
Class StarterAction
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.webwork.StarterAction
- All Implemented Interfaces:
- ErrorCollection, BambooSessionAware, DomainObjectSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, java.io.Serializable, java.lang.Cloneable
- Direct Known Subclasses:
- ViewTelemetryAction
public class StarterAction
- extends BambooActionSupport
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.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
WIZARD
Webwork label state we want to display the wizard view |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, doDefault, doesLabelKeyHaveMatchingDescription, execute, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, getBreadCrumbs, getBuildManager, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getInstanceName, getPlan, getReturnUrl, getSecuredDomainObject, getSessionUser, getText, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebSectionsForLocation, hasAnyErrors, hasBuilds, hasGlobalPermission, hasPlanPermission, hasPlanPermission, isEnableJavascript, isEnableSignup, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildManager, setCookieCutter, setDashboardCachingManager, setEnableJavascript, setErrorMessages, setReturnUrl, setWebInterfaceManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.core.i18n.I18nTextProvider |
getText |
WIZARD
public static final java.lang.String WIZARD
- Webwork label state we want to display the wizard view
- See Also:
- Constant Field Values
StarterAction
public StarterAction()
doExecute
public java.lang.String doExecute()
throws java.lang.Exception
- Return the page to display
- Overrides:
doExecute
in class BambooActionSupport
- Returns:
- The WebWork view name
- Throws:
java.lang.Exception
- Generic exception
getCurrentlyBuilding
public CurrentlyBuilding getCurrentlyBuilding(java.lang.Long agentId)
getCurrentlyBuilding
public CurrentlyBuilding getCurrentlyBuilding(java.lang.String planKey)
getBuildAgents
public java.util.Collection<BuildAgent> getBuildAgents()
getQueue
public java.util.Collection<BuildContext> getQueue()
isFavourite
public boolean isFavourite(Build build)
getBuilds
public java.util.Collection getBuilds()
setBuilds
public void setBuilds(java.util.Collection builds)
getProjectStatusHelper
public ProjectStatusHelper getProjectStatusHelper()
isShowDashboard
public boolean isShowDashboard()
getFavouriteBuilds
public java.util.Collection getFavouriteBuilds()
getResponsibleForBuilds
public java.util.Collection<Build> getResponsibleForBuilds()
- Can probably write this logic better.
- Returns:
getAuthor
public ExtendedAuthor getAuthor()
getReorderedBuildKey
public java.lang.String getReorderedBuildKey()
setReorderedBuildKey
public void setReorderedBuildKey(java.lang.String reorderedBuildKey)
setLocalAgentManager
public void setLocalAgentManager(LocalAgentManager localAgentManager)
setLabelManager
public void setLabelManager(LabelManager labelManager)
setExtendedAuthorManager
public void setExtendedAuthorManager(ExtendedAuthorManager extendedAuthorManager)
setBuildResultsSummaryManager
public void setBuildResultsSummaryManager(BuildResultsSummaryManager buildResultsSummaryManager)
setBuildQueueManager
public void setBuildQueueManager(BuildQueueManager buildQueueManager)
setBuildExecutionManager
public void setBuildExecutionManager(BuildExecutionManager buildExecutionManager)
Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.