public class QuickFilterAction extends StarterAction
StarterAction by changing the logic for fetching build plans for
dashboard. Instead of filtering by standard, per-user dashboard filter, plans are selected using quick filters.standard DashboardFilter action,
Serialized FormStarterAction.DashboardPageBambooActionSupport.JSONStatuschainBranchManager, extendedAuthorManager, labelManager, quickFilterManagerACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, 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 |
|---|
QuickFilterAction() |
| Modifier and Type | Method and Description |
|---|---|
protected List<ImmutableTopLevelPlan> |
getBuildPlansForDashboard()
Fetches build plans for dashboard and filters them by quick filters for this request.
|
List<Long> |
getFilterIds() |
boolean |
isAnyQuickFilterActive() |
boolean |
isQuickFilterActive(long quickFilterId) |
void |
setFilterIds(Collection<Long> filterIds) |
String |
toggle() |
void |
validate() |
filterPlansByLabel, filterPlansByProject, getAuthor, getAuthors, getBuildAgents, getBusyBuildAgents, getChains, getChart, getCommitViews, getCurrentlyBuilding, getCurrentlyBuilding, getDashboardQuickFilters, getDashboardTabUrl, getFavouriteBuilds, getFilteredProjectKeys, getLabelNames, getPage, getPageSize, getPageToNearestProject, getPlans, getPlansByLabel, getPlansForDashboard, getProjectStatusHelper, getQueue, getReorderedBuildKey, getSelectedTab, hasBranches, hasPlanPermission, isAllowedRemoteAgents, isDashboardFilterConfigured, isDashboardFilterEnabled, isFavourite, isShowDashboard, myBamboo, setAgentManager, setBuildExecutionManager, setBuildQueueManager, setChainBranchManager, setEventPublisher, setExtendedAuthorManager, setFilteredProjectKeys, setLabelManager, setLabelNames, setLastProject, setPageSize, setQuickFilterManager, setReorderedBuildKey, setResultsSummaryManager, setSelectedTab, setUserActiveQuickFilterService, startaddActionError, 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, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, toJson, toJsonaddActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, execute, getActionErrors, getActionMessages, getFormatted, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrorsequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllErrorMessagespublic void validate()
validate in interface com.opensymphony.xwork2.Validateablevalidate in class com.opensymphony.xwork2.ActionSupport@NotNull public String toggle()
@NotNull protected List<ImmutableTopLevelPlan> getBuildPlansForDashboard()
getBuildPlansForDashboard in class StarterActionpublic boolean isAnyQuickFilterActive()
isAnyQuickFilterActive in class StarterActionpublic boolean isQuickFilterActive(long quickFilterId)
isQuickFilterActive in class StarterActionpublic void setFilterIds(@Nullable
Collection<Long> filterIds)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.