com.atlassian.bamboo.deployments.versions.actions
Class ViewDeploymentVersion

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.ww2.BambooCancellableAction
              extended by com.atlassian.bamboo.deployments.versions.actions.AbstractDeploymentVersionAction
                  extended by com.atlassian.bamboo.deployments.versions.actions.ViewDeploymentVersion
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable

public class ViewDeploymentVersion
extends AbstractDeploymentVersionAction

See Also:
Serialized Form

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.AbstractDeploymentVersionAction
deploymentProjectService, deploymentVersionLinkedJiraIssuesService, deploymentVersionService, deploymentVersionVcsChangesetService, versionId
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, dashboardCachingManager, environmentService, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ViewDeploymentVersion()
           
 
Method Summary
protected  List<ChainResultsSummary> calculateTestedInResults(DeploymentVersion deploymentVersion)
           
 String doExecute()
          Places the current user on the page
 List<Comment> getComments()
           
 List<ChainResultsSummary> getCommitsTestedInResults()
           
 List<PlanResultKey> getCreatedFromRemovedResults()
          Get list of keys for non existing Result Summary objects that are source of artifacts
 List<ResultsSummary> getCreatedFromResults()
          Get list of existing Result Summary objects that are source of artifacts
 List<DeploymentVersionItemWithUrl> getDeploymentVersionItemsWithUrls()
           
 List<EnvironmentStatus> getVersionDeploymentStatuses()
           
 void setArtifactLinkManager(ArtifactLinkManager artifactLinkManager)
           
 void setCommentService(CommentService commentService)
           
 void setDeploymentResultService(DeploymentResultService deploymentResultService)
           
 void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
           
 
Methods inherited from class com.atlassian.bamboo.deployments.versions.actions.AbstractDeploymentVersionAction
getCommitCount, getDeploymentProject, getDeploymentProjectId, getDeploymentVersion, getIssueCount, getVersionId, setDeploymentVersionLinkedJiraIssuesService, setDeploymentVersionService, setDeploymentVersionVcsChangesetService, setVersionId
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooCancellableAction
getCancelUrl, setCancelUrl
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
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, 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, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setDecorator, setEnableJavascript, setEnvironmentService, setErrorMessages, setFeatureManager, setI18nBeanFactory, setJobEquiv, setJsonator, setLinkedDeploymentProjectCacheService, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager, toJson, toJson
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFormatted, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection
getErrorMessages, getErrors
 
Methods inherited from interface com.opensymphony.xwork2.ValidationAware
addActionMessage, addFieldError, getActionErrors, getActionMessages, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, setActionErrors, setActionMessages, setFieldErrors
 

Constructor Detail

ViewDeploymentVersion

public ViewDeploymentVersion()
Method Detail

doExecute

public String doExecute()
Description copied from class: BambooActionSupport
Places the current user on the page

Overrides:
doExecute in class BambooActionSupport
Returns:
webwork success status

getDeploymentVersionItemsWithUrls

public List<DeploymentVersionItemWithUrl> getDeploymentVersionItemsWithUrls()

calculateTestedInResults

protected List<ChainResultsSummary> calculateTestedInResults(DeploymentVersion deploymentVersion)

getVersionDeploymentStatuses

public List<EnvironmentStatus> getVersionDeploymentStatuses()

getCreatedFromResults

public List<ResultsSummary> getCreatedFromResults()
Get list of existing Result Summary objects that are source of artifacts


getCreatedFromRemovedResults

public List<PlanResultKey> getCreatedFromRemovedResults()
Get list of keys for non existing Result Summary objects that are source of artifacts


getCommitsTestedInResults

public List<ChainResultsSummary> getCommitsTestedInResults()

getComments

public List<Comment> getComments()

setDeploymentResultService

public void setDeploymentResultService(DeploymentResultService deploymentResultService)

setResultsSummaryManager

public void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)

setCommentService

public void setCommentService(CommentService commentService)

setArtifactLinkManager

public void setArtifactLinkManager(ArtifactLinkManager artifactLinkManager)


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.