public class ConfigureEnvironmentTasks extends BambooActionSupport implements com.opensymphony.xwork2.Preparable, DeploymentEnvironmentEditSecurityAware
BambooActionSupport.JSONStatus
Modifier and Type | Field and Description |
---|---|
protected DeploymentProjectService |
deploymentProjectService |
protected Environment |
environment |
protected long |
environmentId |
protected EnvironmentTaskService |
environmentTaskService |
protected static String |
INVALID_PLUGIN |
protected TaskManager |
taskManager |
protected TaskOwnerFactory |
taskOwnerFactory |
protected TaskUIConfigBean |
taskUIConfigBean |
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 |
---|
ConfigureEnvironmentTasks() |
Modifier and Type | Method and Description |
---|---|
String |
execute() |
String |
getAvailableCategoryJson() |
List<TaskModuleDescriptor> |
getAvailableTasks() |
DeploymentProject |
getDeploymentProject() |
Environment |
getEnvironment() |
long |
getEnvironmentId() |
List<DecoratedTaskDefinition> |
getExistingTasks() |
List<DecoratedTaskDefinition> |
getFinalisingTasks() |
Environment |
getSecuredDomainObject() |
protected TaskDefinition |
getTaskById(long id) |
boolean |
isDeleted() |
boolean |
isSaved() |
void |
prepare() |
void |
setDeleted(boolean deleted) |
void |
setEnvironmentId(long environmentId) |
void |
setEnvironmentTaskService(EnvironmentTaskService environmentTaskService) |
void |
setSaved(boolean saved) |
void |
setTaskManager(TaskManager taskManager) |
void |
setTaskOwnerFactory(TaskOwnerFactory taskOwnerFactory) |
void |
setTaskUIConfigBean(TaskUIConfigBean taskUIConfigBean) |
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, isCheckboxSetInAction, isEc2ConfigurationWarningRequired, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, isViewContactDetailsEnabled, renderFreemarkerTemplate, setAdministrationConfigurationAccessor, setAdministrationConfigurationManager, setAdministrationConfigurationPersister, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setCachedPlanManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setDecorator, setDocumentationLinkProvider, 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, getFormatted, getLocale, 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 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() throws com.opensymphony.webwork.dispatcher.json.JSONException
getAvailableCategoryJson
in class BambooActionSupport
com.opensymphony.webwork.dispatcher.json.JSONException
public List<TaskModuleDescriptor> getAvailableTasks()
public List<DecoratedTaskDefinition> getExistingTasks()
public List<DecoratedTaskDefinition> getFinalisingTasks()
@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 DeploymentProject getDeploymentProject()
public void setTaskUIConfigBean(TaskUIConfigBean taskUIConfigBean)
public void setTaskManager(TaskManager taskManager)
public void setEnvironmentTaskService(EnvironmentTaskService environmentTaskService)
public void setTaskOwnerFactory(TaskOwnerFactory taskOwnerFactory)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.