public class ViewDeploymentVersionJiraIssues extends AbstractDeploymentVersionHistoryAction implements LazyPaginationAware<InternalLinkedJiraIssue>
BambooActionSupport.JSONStatus
compareWithVersion, compareWithVersionId, deploymentProjectId, planResultKey
deploymentProjectService, deploymentVersionLinkedJiraIssuesService, deploymentVersionService, deploymentVersionVcsChangesetService, versionId
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, CONFIRM, cookieCutter, dashboardCachingManager, environmentService, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager
Constructor and Description |
---|
ViewDeploymentVersionJiraIssues() |
Modifier and Type | Method and Description |
---|---|
String |
doExecute()
Places the current user on the page
|
List<InternalLinkedJiraIssue> |
getFilteredResultsList(int firstResult,
int maxResults)
Implementing actions should initialize and return up to maxResults items ranging from firstResult
from the underlying list of uninitialized items
|
int |
getIssueCount() |
URI |
getOauthLoginDanceUrl() |
Pager<InternalLinkedJiraIssue> |
getPager()
Freemarker views for LazyPaginationAware actions should iterate over pager.page.list
|
int |
getResultsCount()
Implementing actions should return a total number of items that are subject to pagination
|
boolean |
isComparingWithBuildResult() |
boolean |
isOauthAuthenticationRequired() |
void |
setCachedPlanManager(CachedPlanManager cachedPlanManager) |
void |
setJiraIssueManager(JiraIssueManager jiraIssueManager) |
void |
setJiraIssueUtils(JiraIssueUtils jiraIssueUtils) |
void |
setPager(Pager<InternalLinkedJiraIssue> pager)
Used to inject pager by PaginationAwareInterceptor
|
getCompareWithVersion, getCompareWithVersionId, getDeploymentProject, getDeploymentProjectId, getPlanResultKey, isHasVersionsToCompare, setCompareWithVersion, setCompareWithVersionId, setDeploymentProjectId, setPlanResultKey, updatePlanResultKeyFromVersionId
getCommitCount, getDeploymentVersion, getVersionId, setDeploymentVersionLinkedJiraIssuesService, setDeploymentVersionService, setDeploymentVersionVcsChangesetService, setVersionId
getCancelUrl, setCancelUrl
addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doInput, execute, forceRelativeReturnUrl, getActionWarnings, getAdministrationConfiguration, getAvailableCategoryJson, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBaseUrl, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDeploymentProject, getDescriptionFromLabelKey, getElasticConfig, 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, hasLinkedDeployments, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, input, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setDecorator, setEnableJavascript, setEnvironmentService, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, toJson, toJson
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFormatted, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getErrorMessages, getErrors
public String doExecute()
BambooActionSupport
doExecute
in class BambooActionSupport
@NotNull public List<InternalLinkedJiraIssue> getFilteredResultsList(int firstResult, int maxResults)
LazyPaginationAware
getFilteredResultsList
in interface LazyPaginationAware<InternalLinkedJiraIssue>
firstResult
- index of first itemmaxResults
- number of items to be returnedpublic int getResultsCount()
LazyPaginationAware
getResultsCount
in interface LazyPaginationAware<InternalLinkedJiraIssue>
public Pager<InternalLinkedJiraIssue> getPager()
LazyPaginationAware
getPager
in interface LazyPaginationAware<InternalLinkedJiraIssue>
Pager
objectpublic void setPager(Pager<InternalLinkedJiraIssue> pager)
LazyPaginationAware
setPager
in interface LazyPaginationAware<InternalLinkedJiraIssue>
pager
- Pager
objectpublic boolean isOauthAuthenticationRequired()
public URI getOauthLoginDanceUrl()
public int getIssueCount()
getIssueCount
in class AbstractDeploymentVersionAction
public void setJiraIssueUtils(JiraIssueUtils jiraIssueUtils)
public void setJiraIssueManager(JiraIssueManager jiraIssueManager)
public void setCachedPlanManager(CachedPlanManager cachedPlanManager)
setCachedPlanManager
in class BambooActionSupport
public boolean isComparingWithBuildResult()
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.