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, authenticationContext, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, CONFIRM, cookieCutter, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager
Constructor and Description |
---|
ViewDeploymentVersionJiraIssues() |
Modifier and Type | Method and Description |
---|---|
String |
execute() |
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 |
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, 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, hasPlanPermission, hasProjectPermission, hasProjectPermission, hasRestrictedAdminPermission, hasResultKeyReadPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDecorator, setDeploymentProjectService, setDocumentationLinkProvider, setEnableJavascript, setEnvironmentService, 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, 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
public String execute()
execute
in interface com.opensymphony.xwork2.Action
execute
in class com.opensymphony.xwork2.ActionSupport
@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 setJiraIssueManager(JiraIssueManager jiraIssueManager)
public void setCachedPlanManager(CachedPlanManager cachedPlanManager)
setCachedPlanManager
in class BambooActionSupport
public boolean isComparingWithBuildResult()
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.