public class ExecuteManualDeployment extends AbstractCreateDeploymentVersion implements com.opensymphony.xwork2.Preparable, DeploymentEnvironmentExecuteSecurityAware
BambooActionSupport.JSONStatus
customVariableContext, deploymentProjectService, deploymentResultService, deploymentVersionService, resultsSummaryManager
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, dashboardCachingManager, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager
Constructor and Description |
---|
ExecuteManualDeployment() |
createVersion, getLatestVersionWithPlanResultKey, setCustomVariableContext, setDeploymentResultService, setDeploymentVersionService, setResultsSummaryManager, validateNewRelease
addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, 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, getDescriptionFromLabelKey, getElasticConfig, getFeatureManager, getFieldErrorAccessTracker, getFieldErrors, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedActionWarnings, getHelpPanels, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, 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, 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
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getErrorMessages, getErrors
public Environment getSecuredDomainObject()
getSecuredDomainObject
in interface DeploymentEnvironmentExecuteSecurityAware
getSecuredDomainObject
in interface DomainObjectSecurityAware
getSecuredDomainObject
in class BambooActionSupport
public void prepare() throws Exception
prepare
in interface com.opensymphony.xwork2.Preparable
Exception
public String doDefault()
BambooActionSupport
doDefault
in class BambooActionSupport
public String doExecute() throws Exception
BambooActionSupport
doExecute
in class BambooActionSupport
Exception
- something nasty went wrongpublic void validate()
validate
in interface com.opensymphony.xwork2.Validateable
validate
in class com.opensymphony.xwork2.ActionSupport
public boolean canDeployFromCustomBranch()
public boolean hasAtLeastOneVersion()
public PlanKey getMasterPlanKey()
public String getReleaseTypeOption()
public void setReleaseTypeOption(String releaseTypeOption)
public long getEnvironmentId()
public void setEnvironmentId(long environmentId)
public String getPromoteVersion()
public void setPromoteVersion(String promoteVersion)
public String getNewReleaseBranchKey()
public void setNewReleaseBranchKey(String newReleaseBranchKey)
public String getNextVersionName()
public String getSubsequentVersionName()
public ImmutablePlan getLinkedPlan()
public String getNewReleaseBuildResult()
public void setNewReleaseBuildResult(String newReleaseBuildResult)
public String getVersionName()
public void setVersionName(String versionName)
public DeploymentProject getDeploymentProject()
public Environment getEnvironment()
public AvailableResult getSelectedResult()
public long getDeploymentResultId()
public long getVersionId()
public void setVersionId(long versionId)
public void setRollback(boolean rollback)
public DeploymentResult getLastDeploymentResult()
public DeploymentVersion getPreselectedVersion()
public List<DecoratedTaskDefinition> getDecoratedTaskDefinitions()
public boolean hasDefaultPlanBuildResults()
public boolean hasBranches()
public boolean hasReleasesFromBranches()
public void setEnvironmentTriggeringActionFactory(EnvironmentTriggeringActionFactory environmentTriggeringActionFactory)
public void setTaskService(TaskService taskService)
Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.