@Component public class ConfigureElasticCloudAction extends GlobalAdminAction implements GlobalAdminSecurityAware, BypassValidationAware, com.atlassian.struts.Preparable
Modifier and Type | Class and Description |
---|---|
static class |
ConfigureElasticCloudAction.AutoElasticConfigPreset |
static class |
ConfigureElasticCloudAction.KeyProvisioningMethod |
BambooActionSupport.JSONStatus
RESTRICTED_ADMIN_ACCESS_DENIED_ERROR
ACCESS_DENIED, administrationConfigurationAccessor, administrationConfigurationManager, administrationConfigurationPersister, AGGREGATE_URL_PATTERN, authenticationContext, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, cachedPlanManager, CONFIRM, cookieCutter, deploymentProjectService, featureManager, PAGE_NOT_FOUND, PLAN_KEY_CONTEXT, planExecutionManager, planManager, pluginAccessor, projectManager, webInterfaceManager
Constructor and Description |
---|
ConfigureElasticCloudAction() |
getSecuredDomainObject
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, getAvailableCategoryJson, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUrl, getBambooUserManager, getBaseUrl, getBestBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, 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, execute, 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
getSecuredDomainObject
getAllErrorMessages
public void prepare() throws Exception
prepare
in interface com.opensymphony.xwork2.Preparable
Exception
public void validate()
validate
in interface com.opensymphony.xwork2.Validateable
validate
in class com.opensymphony.xwork2.ActionSupport
public Map<String,ConfigureElasticCloudAction.AutoElasticConfigPreset> getAutomaticInstanceManagementPresets()
public List<ConfigureElasticCloudAction.AutoElasticConfigPreset> getAutomaticInstanceManagementPresetList()
public void setAutomaticInstanceManagementPreset(String presetName)
public String getAutomaticInstanceManagementPreset()
public boolean isFieldAutoInstanceManagementEnabled()
public boolean isFieldElasticWizard()
public void setFieldElasticWizard(boolean fieldElasticWizard)
@NotNull public List<ConfigureElasticCloudAction.KeyProvisioningMethod> getKeyProvideMethods()
public String getRegion()
public void setRegion(@NotNull String region)
@NotNull public Collection<com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region> getAvailableRegions()
public boolean isValidationBypassed()
isValidationBypassed
in interface BypassValidationAware
public ElasticConfiguration getElasticConfig()
getElasticConfig
in class BambooActionSupport
public void setElasticConfig(ElasticConfiguration elasticConfig)
public String getAwsSecretAccessKeyChange()
public void setAwsSecretAccessKeyChange(String awsSecretAccessKeyChange)
public String getSendTest()
public void setSendTest(String sendTest)
public String getFieldAwsSecretAccessKey()
public void setFieldAwsSecretAccessKey(String fieldAwsSecretAccessKey)
public String getFieldAwsAccessKeyId()
public void setFieldAwsAccessKeyId(String fieldAwsAccessKeyId)
public int getFieldMaxConcurrentInstances()
public void setFieldMaxConcurrentInstances(int fieldMaxConcurrentInstances)
public boolean isFieldAutoShutdownEnabled()
public void setFieldAutoShutdownEnabled(boolean fieldAutoShutdownEnabled)
public void setFieldAutoInstanceManagementEnabled(boolean fieldAutoInstanceManagementEnabled)
public String getFieldAutoShutdownDelay()
public void setFieldAutoShutdownDelay(String fieldAutoShutdownDelay)
public boolean isFieldUploadingOfAwsAccountDetailsEnabled()
public void setFieldUploadingOfAwsAccountDetailsEnabled(boolean fieldUploadingOfAwsAccountDetailsEnabled)
public String getFieldAwsPrivateKeyFile()
public void setFieldAwsPrivateKeyFile(String fieldAwsPrivateKeyFile)
public String getElasticConfigureKeysMethod()
public void setElasticConfigureKeysMethod(String elasticConfigureKeysMethod)
public String getFieldAwsCertFile()
public void setFieldAwsCertFile(String fieldAwsCertFile)
public boolean isRemoteAgentFunctionEnabled()
public boolean isShowHint()
public void setShowHint(boolean showHint)
public int getFieldAverageTimeInQueueThreshold()
public void setFieldAverageTimeInQueueThreshold(int fieldAverageTimeInQueueThreshold)
public int getFieldElasticBuildsInQueueThreshold()
public void setFieldElasticBuildsInQueueThreshold(int fieldElasticBuildsInQueueThreshold)
public int getFieldTotalBuildInQueueThreshold()
public void setFieldTotalBuildInQueueThreshold(int fieldTotalBuildInQueueThreshold)
public int getFieldMaxElasticInstancesToStartAtOnce()
public void setFieldMaxElasticInstancesToStartAtOnce(int fieldMaxElasticInstancesToStartAtOnce)
public int getFieldMaxNonBambooInstances()
public void setFieldMaxNonBambooInstances(int fieldMaxNonBambooInstances)
public int getFieldInstanceIdleTimeThreshold()
public void setFieldInstanceIdleTimeThreshold(int fieldInstanceIdleTimeThreshold)
public int getRequestedElasticInstancesCount()
public int getRunningElasticInstancesCount()
public boolean isElasticIpManagementEnabled()
public void setElasticIpManagementEnabled(boolean elasticIpManagementEnabled)
public String getLicenseTier()
public boolean isOnDemand()
Copyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.