public class StarterAction extends BambooActionSupport implements TabSelectionAware
If the application has not been configured, it displays the Configuration wizard.
Otherwise it displays the default home page.
Modifier and Type | Class and Description |
---|---|
class |
StarterAction.DashboardPage |
static class |
StarterAction.SpecsOnboardingDialog |
BambooActionSupport.JSONStatus
Modifier and Type | Field and Description |
---|---|
protected ChainBranchManager |
chainBranchManager |
protected ExtendedAuthorManager |
extendedAuthorManager |
protected LabelManager |
labelManager |
protected QuickFilterManager |
quickFilterManager |
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, authenticationContext, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, deploymentProjectService, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager
Constructor and Description |
---|
StarterAction() |
addActionError, addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, doInput, forceRelativeReturnUrl, getActionWarnings, getAdministrationConfiguration, getAvailableCategoryJson, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBaseUrl, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getElasticConfig, getErrorMessages, getErrors, getFeatureManager, getFieldErrorAccessTracker, getFieldErrors, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedActionWarnings, getHelpPanels, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getSecuredDomainObject, getServerLifecycleState, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasActionWarnings, hasAdminPermission, hasAnyErrors, hasBuilds, hasEntityPermission, hasGlobalAdminPermission, hasGlobalPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDecorator, setDeploymentProjectService, setDocumentationLinkProvider, setEnableJavascript, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setLocalizedTextProvider, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, streamJson, toJson, toJson
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, execute, getActionErrors, getActionMessages, getContainer, getFormatted, getLocale, getLocaleProvider, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAllErrorMessages
protected ExtendedAuthorManager extendedAuthorManager
protected LabelManager labelManager
protected ChainBranchManager chainBranchManager
protected QuickFilterManager quickFilterManager
public String start()
public String myBamboo()
public boolean hasPlanPermission(String permission, PlanIdentifier plan)
hasPlanPermission
in class BambooActionSupport
public String getDashboardTabUrl()
public CurrentlyBuilding getCurrentlyBuilding(Long agentId)
public CurrentlyBuilding getCurrentlyBuilding(String buildResultKey)
public Collection<BuildAgent> getBuildAgents()
public Collection<BuildAgent> getBusyBuildAgents()
public Collection<BuildQueueManager.QueuedResultKey> getQueue()
public boolean isFavourite(ImmutableChain plan)
public List<ImmutableTopLevelPlan> getPlans()
public Collection<ImmutableChain> getChains()
@NotNull public Collection<? extends ImmutableChain> getPlansByLabel()
@NotNull public StarterAction.DashboardPage getPlansForDashboard()
public boolean isDashboardFilterConfigured()
isDashboardFilterEnabled()
in that it returns true if there's any saved projectKeys / labels@NotNull protected List<ImmutableTopLevelPlan> getBuildPlansForDashboard()
protected List<ImmutableTopLevelPlan> filterPlansByProject(List<ImmutableTopLevelPlan> plans, List<String> rawProjectKeys)
@NotNull protected <T extends ImmutableChain> List<T> filterPlansByLabel(List<T> plans, List<String> theLabelNames)
@NotNull protected StarterAction.DashboardPage getPageToNearestProject(@Nullable String lastProjectInPreviousPage, @NotNull List<ImmutableTopLevelPlan> plans, int pageSize)
public List<CommitView> getCommitViews()
public ProjectStatusHelper getProjectStatusHelper()
public boolean hasBranches(PlanIdentifier plan)
public Collection<ImmutableChain> getFavouriteBuilds()
@NotNull public String getSelectedTab()
getSelectedTab
in interface TabSelectionAware
public void setSelectedTab(@NotNull String selectedTab)
setSelectedTab
in interface TabSelectionAware
@Deprecated public ExtendedAuthor getAuthor()
getAuthors()
instead. You can now have multiple authores for a user.public List<ExtendedAuthor> getAuthors()
public boolean isAllowedRemoteAgents()
public StarterAction.SpecsOnboardingDialog getSpecsOnboarding()
public void setSpecsRepositoryId(Long specsRepositoryId)
public void setBuildProjectKey(String buildProjectKey)
public boolean isDashboardFilterEnabled()
@NotNull public List<QuickFilter> getDashboardQuickFilters()
public boolean isAnyQuickFilterActive()
public boolean isQuickFilterActive(long quickFilterId)
public void setLastProject(String lastProject)
public void setPageSize(int pageSize)
public int getPageSize()
public StarterAction.DashboardPage getPage()
public String getReorderedBuildKey()
public void setReorderedBuildKey(String reorderedBuildKey)
public void setAgentManager(AgentManager agentManager)
public void setExtendedAuthorManager(ExtendedAuthorManager extendedAuthorManager)
public void setRepositoryDefinitionManager(RepositoryDefinitionManager repositoryDefinitionManager)
public void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
public void setVcsRepositoryManager(VcsRepositoryManager vcsRepositoryManager)
public void setBuildQueueManager(BuildQueueManager buildQueueManager)
public void setBuildExecutionManager(BuildExecutionManager buildExecutionManager)
public void setLabelManager(LabelManager labelManager)
public void setChainBranchManager(ChainBranchManager chainBranchManager)
public void setEventPublisher(com.atlassian.event.api.EventPublisher eventPublisher)
public void setQuickFilterManager(QuickFilterManager quickFilterManager)
public void setUserActiveQuickFilterService(UserActiveQuickFilterService userActiveQuickFilterService)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.