public class ConfigureElasticImageConfiguration extends GlobalAdminAction implements GlobalAdminSecurityAware, com.opensymphony.xwork2.Preparable
BambooActionSupport.JSONStatus
RESTRICTED_ADMIN_ACCESS_DENIED_ERROR
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 |
---|
ConfigureElasticImageConfiguration() |
getSecuredDomainObject
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, 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, 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, execute, getActionErrors, getActionMessages, getFormatted, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, input, isValidLocale, isValidLocaleString, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSecuredDomainObject
getAllErrorMessages
public void prepare() throws Exception
prepare
in interface com.opensymphony.xwork2.Preparable
Exception
public String disable()
public String enable()
public String delete()
public CapabilityRequirementSetDecorator getCapabilitySetDecorator()
public void validate()
validate
in interface com.opensymphony.xwork2.Validateable
validate
in class com.opensymphony.xwork2.ActionSupport
public List<ElasticImageConfiguration> getElasticImageConfigurations()
public int getAgentCountForImage(long id)
public int getScheduleCountForImage(ElasticImageConfiguration elasticImageConfiguration)
public int getBuildCountForImage(long id)
public Collection<com.atlassian.aws.ec2.EC2InstanceType> getAvailableInstanceTypes()
public Collection<CapabilityType> getCapabilityTypes()
@NotNull public TreeMap<String,com.amazonaws.services.ec2.model.AvailabilityZone> getAvailabilityZones()
public boolean hasPlanPermission(String permission, PlanIdentifier plan)
hasPlanPermission
in class BambooActionSupport
@NotNull public Collection<ImmutableBuildable> getExecutableBuildables()
@NotNull public List<DecoratedEnvironment> getExecutableEnvironments()
public DeploymentProject getDeploymentProject(long deploymentProjectId)
public Map<String,String> getSubnetMap()
public Collection<String> getSubnets()
public void setSubnets(Collection<String> subnetIds)
public Collection<String> getProducts()
public boolean isVpcEnabled()
public void setVpcEnabled(boolean value)
public long getConfigurationId()
public void setConfigurationId(long configurationId)
public ElasticImageConfiguration getConfiguration()
public void setConfirmDelete(boolean confirmDelete)
public void setConfirmDisable(boolean confirmDisable)
public String getConfigurationName()
public void setConfigurationName(String configurationName)
public String getConfigurationDescription()
public void setConfigurationDescription(String configurationDescription)
public String getAmiId()
public void setAmiId(String amiId)
public boolean isEbsEnabled()
public void setEbsEnabled(boolean ebsEnabled)
public String getEbsSnapshotId()
public void setEbsSnapshotId(String ebsSnapshotId)
public boolean isLegacyEbsHandlingEnabled()
public void setLegacyEbsHandlingEnabled(boolean useLegacyEbsHandling)
public Collection<String> getInstanceTypes()
public void setInstanceTypes(Collection<com.atlassian.aws.ec2.EC2InstanceType> instanceTypes)
public String getAvailabilityZone()
public void setAvailabilityZone(String availabilityZone)
public String getStartupScript()
public void setStartupScript(String startupScript)
public ElasticUIBean getElasticUIBean()
public String getMode()
public void setMode(String mode)
public String getProduct()
public void setProduct(String product)
public String getDefaultAvailabilityZone()
public String getIamInstanceProfile()
public void setIamInstanceProfile(String iamInstanceProfile)
public boolean isEbsOptimised()
public void setEbsOptimised(boolean value)
Copyright © 2017 Atlassian Software Systems Pty Ltd. All rights reserved.