Class ViewDeploymentVersionJiraIssues
java.lang.Object
org.apache.struts2.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.ww2.BambooCancellableAction
com.atlassian.bamboo.deployments.versions.actions.AbstractDeploymentVersionAction
com.atlassian.bamboo.deployments.versions.actions.AbstractDeploymentVersionHistoryAction
com.atlassian.bamboo.deployments.versions.actions.ViewDeploymentVersionJiraIssues
- All Implemented Interfaces:
JsonStreamingAction,ErrorCollection,BambooSessionAware,LazyPaginationAware<InternalLinkedJiraIssue>,NavigationAware,DomainObjectSecurityAware,GlobalReadSecurityAware,ReturnUrlAware,UserAware,com.atlassian.core.i18n.I18nTextProvider,Serializable,org.apache.struts2.action.Action,org.apache.struts2.interceptor.ValidationAware,org.apache.struts2.locale.LocaleProvider,org.apache.struts2.text.TextProvider,org.apache.struts2.Validateable
public class ViewDeploymentVersionJiraIssues
extends AbstractDeploymentVersionHistoryAction
implements LazyPaginationAware<InternalLinkedJiraIssue>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
BambooActionSupport.JSONStatus -
Field Summary
Fields inherited from class com.atlassian.bamboo.deployments.versions.actions.AbstractDeploymentVersionHistoryAction
compareWithVersion, compareWithVersionId, deploymentProjectId, planResultKeyFields inherited from class com.atlassian.bamboo.deployments.versions.actions.AbstractDeploymentVersionAction
cachedDeploymentProjectService, deploymentVersionLinkedJiraIssuesService, deploymentVersionService, deploymentVersionVcsChangesetService, VERSION_MAX_LENGTH, versionIdFields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, authenticationContext, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, CONFIRM, cookieCutter, deploymentProjectService, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManagerFields inherited from class org.apache.struts2.ActionSupport
containerFields inherited from interface org.apache.struts2.action.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute()@NotNull 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 itemsintgetPager()Freemarker views for LazyPaginationAware actions should iterate over pager.page.listintImplementing actions should return a total number of items that are subject to paginationbooleanbooleanvoidsetCachedPlanManager(CachedPlanManager cachedPlanManager) voidsetJiraIssueManager(JiraIssueManager jiraIssueManager) voidsetPager(Pager<InternalLinkedJiraIssue> pager) Used to inject pager by PaginationAwareInterceptorMethods inherited from class com.atlassian.bamboo.deployments.versions.actions.AbstractDeploymentVersionHistoryAction
getCompareWithVersion, getCompareWithVersionId, getDeploymentProject, getDeploymentProjectId, getPlanResultKey, isHasVersionsToCompare, setCompareWithVersion, setCompareWithVersionId, setDeploymentProjectId, setPlanResultKey, updatePlanResultKeyFromVersionIdMethods inherited from class com.atlassian.bamboo.deployments.versions.actions.AbstractDeploymentVersionAction
getCommitCount, getCurrentUserState, getDeploymentVersion, getEnvironmentsExecutionAllowancesInVersionContext, getVersionGeneralState, getVersionId, setVersionIdMethods inherited from class com.atlassian.bamboo.ww2.BambooCancellableAction
getCancelUrl, setCancelUrlMethods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
addActionError, addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, canRunBuild, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, doInput, forceRelativeReturnUrl, getActionErrors, getActionWarnings, getAdministrationConfiguration, getAvailableCategoryJson, getBambooContainer, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBaseUrl, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getCheckBoxFields, getConcurrentBuildExecutionStrategyOptions, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDecorator, getDefaultPersister, getDescriptionFromLabelKey, getElasticConfig, getErrorMessages, getErrors, getFeatureManager, getFieldErrorAccessTracker, getFieldErrors, getFormattedActionErrors, getFormattedActionMessages, getFormattedActionWarnings, getHelpPanels, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNodeLifecycleState, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getRandomString, getReturnUrl, getSecuredDomainObject, getSessionUser, 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, setCachedEnvironmentService, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDecorator, setDeploymentProjectService, setDocumentationLinkProvider, setEnableJavascript, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setLocalizedTextProvider, setNavigationContext, setNodeLifecycleProvider, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setWebInterfaceManager, streamJson, toJson, toJsonMethods inherited from class org.apache.struts2.ActionSupport
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionMessages, getContainer, getFormatted, getLocale, getLocaleProvider, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, toLocale, validateMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection
getAllErrorMessagesMethods inherited from interface org.apache.struts2.interceptor.ValidationAware
addActionMessage, addFieldError, getActionMessages, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors
-
Constructor Details
-
ViewDeploymentVersionJiraIssues
public ViewDeploymentVersionJiraIssues()
-
-
Method Details
-
execute
- Specified by:
executein interfaceorg.apache.struts2.action.Action- Overrides:
executein classorg.apache.struts2.ActionSupport
-
getFilteredResultsList
@NotNull public @NotNull List<InternalLinkedJiraIssue> getFilteredResultsList(int firstResult, int maxResults) Description copied from interface:LazyPaginationAwareImplementing actions should initialize and return up to maxResults items ranging from firstResult from the underlying list of uninitialized items- Specified by:
getFilteredResultsListin interfaceLazyPaginationAware<InternalLinkedJiraIssue>- Parameters:
firstResult- index of first itemmaxResults- number of items to be returned- Returns:
- range of initialized results from underlying full list of uninitialized items
-
getResultsCount
public int getResultsCount()Description copied from interface:LazyPaginationAwareImplementing actions should return a total number of items that are subject to pagination- Specified by:
getResultsCountin interfaceLazyPaginationAware<InternalLinkedJiraIssue>- Returns:
- number of items in the underlying list
-
getPager
Description copied from interface:LazyPaginationAwareFreemarker views for LazyPaginationAware actions should iterate over pager.page.list- Specified by:
getPagerin interfaceLazyPaginationAware<InternalLinkedJiraIssue>- Returns:
Pagerobject
-
setPager
Description copied from interface:LazyPaginationAwareUsed to inject pager by PaginationAwareInterceptor- Specified by:
setPagerin interfaceLazyPaginationAware<InternalLinkedJiraIssue>- Parameters:
pager-Pagerobject
-
isOauthAuthenticationRequired
public boolean isOauthAuthenticationRequired() -
getOauthLoginDanceUrl
-
getIssueCount
public int getIssueCount()- Overrides:
getIssueCountin classAbstractDeploymentVersionAction
-
setJiraIssueManager
-
setCachedPlanManager
- Overrides:
setCachedPlanManagerin classBambooActionSupport
-
isComparingWithBuildResult
public boolean isComparingWithBuildResult()
-