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, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, TabSelectionAware, 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
- implements TabSelectionAware
This class decides which starter page should be displayed 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
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, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, execute, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedErrorMessages, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getSecuredDomainObject, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setEnableJavascript, setErrorMessages, setI18nBeanFactory, setJobEquiv, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProjectManager, setReturnUrl, setWebInterfaceManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setFieldErrors, validate |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StarterAction
public StarterAction()
doStart
public java.lang.String doStart()
getDashboardTabUrl
public java.lang.String getDashboardTabUrl()
getCurrentlyBuilding
public CurrentlyBuilding getCurrentlyBuilding(java.lang.Long agentId)
getCurrentlyBuilding
public CurrentlyBuilding getCurrentlyBuilding(java.lang.String buildResultKey)
getBuildAgents
public java.util.Collection<BuildAgent> getBuildAgents()
getBusyBuildAgents
public java.util.Collection<BuildAgent> getBusyBuildAgents()
getQueue
public java.util.Collection<BuildContext> getQueue()
isFavourite
public boolean isFavourite(TopLevelPlan plan)
getPlans
public java.util.Collection<TopLevelPlan> getPlans()
getProjectStatusHelper
public ProjectStatusHelper getProjectStatusHelper()
isShowDashboard
public boolean isShowDashboard()
getFavouriteBuilds
public java.util.Collection<TopLevelPlan> getFavouriteBuilds()
getResponsibleForBuilds
public java.util.Collection<TopLevelPlan> getResponsibleForBuilds()
- Can probably write this logic better.
- Returns:
- build this particular user has broken.
getSelectedTab
@NotNull
public java.lang.String getSelectedTab()
- Specified by:
getSelectedTab
in interface TabSelectionAware
setSelectedTab
public void setSelectedTab(@NotNull
java.lang.String selectedTab)
- Specified by:
setSelectedTab
in interface TabSelectionAware
getAuthor
public ExtendedAuthor getAuthor()
isAllowedRemoteAgents
public boolean isAllowedRemoteAgents()
getLocalBuilders
public java.util.List<DecoratedCapabilityRequirement> getLocalBuilders()
getLocalJdks
public java.util.List<DecoratedCapabilityRequirement> getLocalJdks()
getReorderedBuildKey
public java.lang.String getReorderedBuildKey()
setReorderedBuildKey
public void setReorderedBuildKey(java.lang.String reorderedBuildKey)
setLocalAgentManager
public void setLocalAgentManager(LocalAgentManager localAgentManager)
setExtendedAuthorManager
public void setExtendedAuthorManager(ExtendedAuthorManager extendedAuthorManager)
setResultsSummaryManager
public void setResultsSummaryManager(BuildResultsSummaryManager resultsSummaryManager)
setBuildQueueManager
public void setBuildQueueManager(BuildQueueManager buildQueueManager)
setBuildExecutionManager
public void setBuildExecutionManager(BuildExecutionManager buildExecutionManager)
setCapabilitySetManager
public void setCapabilitySetManager(CapabilitySetManager capabilitySetManager)
setCapabilityHelper
public void setCapabilityHelper(CapabilityHelper capabilityHelper)
Copyright © 2011 Atlassian. All Rights Reserved.