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.DashboardPage
BambooActionSupport.JSONStatus
chainBranchManager, extendedAuthorManager, labelManager, quickFilterManager
ACCESS_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, getBambooSpecsVersion, getBuildAgents, getBuildProjectKey, getBusyBuildAgents, getChains, getChart, getCommitViews, getCurrentlyBuilding, getCurrentlyBuilding, getDashboardQuickFilters, getDashboardTabUrl, getFavouriteBuilds, getFilteredProjectKeys, getLabelNames, getPage, getPageSize, getPageToNearestProject, getPlans, getPlansByLabel, getPlansForDashboard, getProjectStatusHelper, getQueue, getReorderedBuildKey, getSelectedTab, getSpecsRepositoryId, hasBranches, hasPlanPermission, isAllowedRemoteAgents, isDashboardFilterConfigured, isDashboardFilterEnabled, isFavourite, isShowDashboard, isSpecsWebhookRequired, myBamboo, setAgentManager, setBuildExecutionManager, setBuildProjectKey, setBuildQueueManager, setChainBranchManager, setEventPublisher, setExtendedAuthorManager, setFilteredProjectKeys, setLabelManager, setLabelNames, setLastProject, setPageSize, setQuickFilterManager, setReorderedBuildKey, setRepositoryDefinitionManager, setResultsSummaryManager, setSelectedTab, setSpecsRepositoryId, setUserActiveQuickFilterService, setVcsRepositoryManager, start
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, getFormatted, getLocale, getLocaleProvider, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAllErrorMessages
public void validate()
validate
in interface com.opensymphony.xwork2.Validateable
validate
in class com.opensymphony.xwork2.ActionSupport
@NotNull public String toggle()
@NotNull protected List<ImmutableTopLevelPlan> getBuildPlansForDashboard()
getBuildPlansForDashboard
in class StarterAction
public boolean isAnyQuickFilterActive()
isAnyQuickFilterActive
in class StarterAction
public boolean isQuickFilterActive(long quickFilterId)
isQuickFilterActive
in class StarterAction
public void setFilterIds(@Nullable Collection<Long> filterIds)
Copyright © 2018 Atlassian Software Systems Pty Ltd. All rights reserved.