public class ConfigureEnvironmentTasks extends BambooActionSupport implements com.opensymphony.xwork2.Preparable, DeploymentEnvironmentEditSecurityAware
BambooActionSupport.JSONStatus
Modifier and Type | Field and Description |
---|---|
protected List<Pair<String,String>> |
conditions |
protected DeploymentProjectService |
deploymentProjectService |
protected Environment |
environment |
protected long |
environmentId |
protected EnvironmentTaskService |
environmentTaskService |
protected static String |
INVALID_PLUGIN |
protected String |
selectedCondition |
protected TaskManager |
taskManager |
protected TaskOwnerFactory |
taskOwnerFactory |
protected TaskUIConfigBean |
taskUIConfigBean |
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 |
---|
ConfigureEnvironmentTasks() |
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, 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, hasRestrictedAdminPermission, hasResultKeyReadPermission, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, 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, validate
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAllErrorMessages
protected static final String INVALID_PLUGIN
protected long environmentId
protected Environment environment
protected String selectedCondition
protected TaskUIConfigBean taskUIConfigBean
protected TaskManager taskManager
protected EnvironmentTaskService environmentTaskService
@Autowired protected DeploymentProjectService deploymentProjectService
protected TaskOwnerFactory taskOwnerFactory
public void prepare() throws Exception
prepare
in interface com.opensymphony.xwork2.Preparable
Exception
public String execute()
execute
in interface com.opensymphony.xwork2.Action
execute
in class com.opensymphony.xwork2.ActionSupport
public Environment getEnvironment()
public Environment getSecuredDomainObject()
getSecuredDomainObject
in interface DeploymentEnvironmentEditSecurityAware
getSecuredDomainObject
in interface DomainObjectSecurityAware
getSecuredDomainObject
in class BambooActionSupport
public String getAvailableCategoryJson()
getAvailableCategoryJson
in class BambooActionSupport
public List<TaskModuleDescriptor> getAvailableTasks()
public List<DecoratedTaskDefinition> getExistingTasks()
public List<DecoratedTaskDefinition> getFinalisingTasks()
protected List<TaskConditionConfig> getTaskConditions(boolean isConditionalTask)
@Nullable protected TaskDefinition getTaskById(long id)
public long getEnvironmentId()
public void setEnvironmentId(long environmentId)
public boolean isSaved()
public void setSaved(boolean saved)
public boolean isDeleted()
public void setDeleted(boolean deleted)
public String getSelectedCondition()
public void setSelectedCondition(String selectedCondition)
public DeploymentProject getDeploymentProject()
public void setTaskUIConfigBean(TaskUIConfigBean taskUIConfigBean)
public void setTaskManager(TaskManager taskManager)
public void setEnvironmentTaskService(EnvironmentTaskService environmentTaskService)
public void setTaskOwnerFactory(TaskOwnerFactory taskOwnerFactory)
public boolean isReadOnly()
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.