public class ExecuteManualDeployment extends AbstractCreateDeploymentVersion implements com.opensymphony.xwork2.Preparable, DeploymentEnvironmentExecuteSecurityAware
BambooActionSupport.JSONStatus
Modifier and Type | Field and Description |
---|---|
static org.apache.log4j.Logger |
log |
customVariableContext, deploymentProjectService, deploymentResultService, deploymentVersionService, resultsSummaryManager, variableDefinitionManager
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, authenticationContext, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager
Constructor and Description |
---|
ExecuteManualDeployment() |
createVersion, getLatestVersionWithPlanResultKey, setCustomVariableContext, setDeploymentResultService, setDeploymentVersionService, setResultsSummaryManager, validateNewRelease
addActionError, addActionError, addActionWarning, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addFieldErrors, addHelpPanel, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, 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, 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, setCachedPlanManager, 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
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAllErrorMessages
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 execute() throws Exception
execute
in interface com.opensymphony.xwork2.Action
execute
in class com.opensymphony.xwork2.ActionSupport
Exception
public 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)
public boolean isVerboseLogging()
public void setVerboseLogging(boolean verboseLogging)
Copyright © 2023 Atlassian Software Systems Pty Ltd. All rights reserved.