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.atlassian.bamboo.ww2.BambooActionSupport |
administrationConfigurationManager, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, CONFIRM, cookieCutter, dashboardCachingManager, PLAN_KEY_CONTEXT, planExecutionManager, planManager, projectManager, webInterfaceManager |
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 |
addActionError, 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, getServerLifecycleState, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setDecorator, setEnableJavascript, setErrorMessages, setI18nBeanFactory, setJobEquiv, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
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 |
extendedAuthorManager
protected ExtendedAuthorManager extendedAuthorManager
StarterAction
public StarterAction()
doFilterLabelsNames
public java.lang.String doFilterLabelsNames()
doClearFilterLabelsNames
public java.lang.String doClearFilterLabelsNames()
doStart
public java.lang.String doStart()
doMyBamboo
public java.lang.String doMyBamboo()
hasPlanPermission
public boolean hasPlanPermission(java.lang.String permission,
ImmutablePlan plan)
- Overrides:
hasPlanPermission
in class BambooActionSupport
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(ImmutableChain plan)
getPlans
public java.util.Collection<ImmutableTopLevelPlan> getPlans()
getChains
public java.util.Collection<ImmutableChain> getChains()
getAllPlanLabels
public java.lang.Iterable<Label> getAllPlanLabels()
getPlansByLabel
@NotNull
public java.util.Collection<? extends ImmutableChain> getPlansByLabel()
getCommitViews
public java.util.List<CommitView> getCommitViews()
getProjectStatusHelper
public ProjectStatusHelper getProjectStatusHelper()
isShowDashboard
public boolean isShowDashboard()
hasBranches
public boolean hasBranches(Plan plan)
getFavouriteBuilds
public java.util.Collection<? extends ImmutableChain> getFavouriteBuilds()
getResponsibleForBuilds
public java.util.Collection<ImmutableChain> getResponsibleForBuilds()
- Can probably write this logic better.
- Returns:
- build this particular user has broken.
getChart
public java.util.Map<java.lang.String,java.lang.Object> getChart()
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
@Deprecated
public ExtendedAuthor getAuthor()
- Deprecated. use
getAuthors()
instead. You can now have multiple authores for a user.
getAuthors
public java.util.List<ExtendedAuthor> getAuthors()
isAllowedRemoteAgents
public boolean isAllowedRemoteAgents()
getLocalBuilders
public java.util.List<DecoratedCapabilityRequirement> getLocalBuilders()
getLocalJdks
public java.util.List<DecoratedCapabilityRequirement> getLocalJdks()
getLabelNames
@Nullable
public java.util.List<java.lang.String> getLabelNames()
setLabelNames
public void setLabelNames(java.util.List<java.lang.String> labelNames)
getReorderedBuildKey
public java.lang.String getReorderedBuildKey()
setReorderedBuildKey
public void setReorderedBuildKey(java.lang.String reorderedBuildKey)
setAgentManager
public void setAgentManager(AgentManager agentManager)
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)
setLabelManager
public void setLabelManager(LabelManager labelManager)
setCachingPermissionManagerFacade
public void setCachingPermissionManagerFacade(BambooCachingPermissionManagerFacade permissionManagerManager)
setChainBranchManager
public void setChainBranchManager(ChainBranchManager chainBranchManager)
Copyright © 2012 Atlassian. All Rights Reserved.