com.atlassian.bamboo.ww2.actions.admin.elastic
Class ConfigureElasticCloudAction
java.lang.Object
com.opensymphony.xwork.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.configuration.GlobalAdminAction
com.atlassian.bamboo.ww2.actions.admin.elastic.ConfigureElasticCloudAction
- All Implemented Interfaces:
- ErrorCollection, BambooSessionAware, BypassValidationAware, NavigationAware, DomainObjectSecurityAware, GlobalAdminSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, java.io.Serializable, java.lang.Cloneable
public class ConfigureElasticCloudAction
- extends GlobalAdminAction
- implements GlobalAdminSecurityAware, BypassValidationAware
- See Also:
- Serialized Form
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
administrationConfigurationManager, AGGREGATE_URL_PATTERN, bambooPermissionManager, bambooUserManager, BUILD_KEY_CONTEXT, buildDefinitionManager, CONFIRM, cookieCutter, dashboardCachingManager, PLAN_KEY_CONTEXT, planExecutionManager, planManager, projectManager, webInterfaceManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
addActionError, addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, buildWebPanelContext, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, execute, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, getBreadCrumbs, getChainEquiv, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentFormTheme, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getFormattedActionErrors, getFormattedActionMessages, getFormattedErrorMessages, getInstanceName, getJobEquiv, getJsonObject, getNavigationContext, getNavigationUrl, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getPluginAccessor, getReturnUrl, getServerLifecycleState, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTextProvider, getTexts, getTexts, getTextWithArgs, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebPanelContext, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isInlineDialog, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setChainEquiv, setCheckBoxFields, setCookieCutter, setCurrentFormTheme, setDashboardCachingManager, setDecorator, setEnableJavascript, setErrorMessages, setI18nBeanFactory, setJobEquiv, setNavigationContext, setPlanExecutionManager, setPlanManager, setPluginAccessor, setProfile, setProjectManager, setReturnUrl, setServerLifecycleProvider, setWebInterfaceManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, pause, setActionErrors, setActionMessages, setFieldErrors |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigureElasticCloudAction
public ConfigureElasticCloudAction()
validate
public void validate()
- Specified by:
validate
in interface com.opensymphony.xwork.Validateable
- Overrides:
validate
in class com.opensymphony.xwork.ActionSupport
getAutomaticInstanceManagementPresets
public java.util.Map<java.lang.String,ConfigureElasticCloudAction.AutoElasticConfigPreset> getAutomaticInstanceManagementPresets()
getAutomaticInstanceManagementPresetList
public java.util.List<ConfigureElasticCloudAction.AutoElasticConfigPreset> getAutomaticInstanceManagementPresetList()
setAutomaticInstanceManagementPreset
public void setAutomaticInstanceManagementPreset(java.lang.String presetName)
getAutomaticInstanceManagementPreset
public java.lang.String getAutomaticInstanceManagementPreset()
doRead
public java.lang.String doRead()
throws java.lang.Exception
- Throws:
java.lang.Exception
doSave
public java.lang.String doSave()
throws java.lang.Exception
- Throws:
java.lang.Exception
isFieldAutoInstanceManagementEnabled
public boolean isFieldAutoInstanceManagementEnabled()
doEdit
public java.lang.String doEdit()
throws java.lang.Exception
- Throws:
java.lang.Exception
getKeyProvideMethods
@NotNull
public java.util.List<ConfigureElasticCloudAction.KeyProvisioningMethod> getKeyProvideMethods()
doDisable
public java.lang.String doDisable()
throws java.lang.Exception
- Throws:
java.lang.Exception
doConfirmDisable
public java.lang.String doConfirmDisable()
throws java.lang.Exception
- Throws:
java.lang.Exception
doEnable
public java.lang.String doEnable()
throws java.lang.Exception
- Throws:
java.lang.Exception
isValidationBypassed
public boolean isValidationBypassed()
- Specified by:
isValidationBypassed
in interface BypassValidationAware
getElasticConfig
public ElasticConfiguration getElasticConfig()
setElasticConfig
public void setElasticConfig(ElasticConfiguration elasticConfig)
getAwsSecretAccessKeyChange
public java.lang.String getAwsSecretAccessKeyChange()
setAwsSecretAccessKeyChange
public void setAwsSecretAccessKeyChange(java.lang.String awsSecretAccessKeyChange)
setElasticAgentManager
public void setElasticAgentManager(ElasticInstanceManager elasticInstanceManager)
getSendTest
public java.lang.String getSendTest()
setSendTest
public void setSendTest(java.lang.String sendTest)
getFieldAwsSecretAccessKey
public java.lang.String getFieldAwsSecretAccessKey()
setFieldAwsSecretAccessKey
public void setFieldAwsSecretAccessKey(java.lang.String fieldAwsSecretAccessKey)
getFieldAwsAccessKeyId
public java.lang.String getFieldAwsAccessKeyId()
setFieldAwsAccessKeyId
public void setFieldAwsAccessKeyId(java.lang.String fieldAwsAccessKeyId)
getFieldMaxConcurrentInstances
public int getFieldMaxConcurrentInstances()
setFieldMaxConcurrentInstances
public void setFieldMaxConcurrentInstances(int fieldMaxConcurrentInstances)
isFieldAutoShutdownEnabled
public boolean isFieldAutoShutdownEnabled()
setFieldAutoShutdownEnabled
public void setFieldAutoShutdownEnabled(boolean fieldAutoShutdownEnabled)
isFieldSpotInstancesEnabled
public boolean isFieldSpotInstancesEnabled()
setFieldSpotInstancesEnabled
public void setFieldSpotInstancesEnabled(boolean fieldSpotInstancesEnabled)
getFieldSpotInstancesTimeoutMinutes
public int getFieldSpotInstancesTimeoutMinutes()
setFieldSpotInstancesTimeoutMinutes
public void setFieldSpotInstancesTimeoutMinutes(int fieldSpotInstancesTimeoutMinutes)
getBid
@Nullable
public java.lang.Double getBid(java.lang.String product,
com.amazonaws.services.ec2.model.InstanceType instanceType)
getCurrentSpotPrices
public com.atlassian.aws.ec2.SpotPriceMatrix getCurrentSpotPrices()
getInstanceTypes
public com.atlassian.aws.ec2.EC2InstanceType[] getInstanceTypes()
setFieldAutoInstanceManagementEnabled
public void setFieldAutoInstanceManagementEnabled(boolean fieldAutoInstanceManagementEnabled)
getFieldAutoShutdownDelay
public java.lang.String getFieldAutoShutdownDelay()
setFieldAutoShutdownDelay
public void setFieldAutoShutdownDelay(java.lang.String fieldAutoShutdownDelay)
isFieldUploadingOfAwsAccountDetailsEnabled
public boolean isFieldUploadingOfAwsAccountDetailsEnabled()
setFieldUploadingOfAwsAccountDetailsEnabled
public void setFieldUploadingOfAwsAccountDetailsEnabled(boolean fieldUploadingOfAwsAccountDetailsEnabled)
getFieldAwsPrivateKeyFile
public java.lang.String getFieldAwsPrivateKeyFile()
setFieldAwsPrivateKeyFile
public void setFieldAwsPrivateKeyFile(java.lang.String fieldAwsPrivateKeyFile)
getElasticConfigureKeysMethod
public java.lang.String getElasticConfigureKeysMethod()
setElasticConfigureKeysMethod
public void setElasticConfigureKeysMethod(java.lang.String elasticConfigureKeysMethod)
getFieldAwsCertFile
public java.lang.String getFieldAwsCertFile()
setFieldAwsCertFile
public void setFieldAwsCertFile(java.lang.String fieldAwsCertFile)
isRemoteAgentFunctionEnabled
public boolean isRemoteAgentFunctionEnabled()
setElasticFunctionalityFacade
public void setElasticFunctionalityFacade(ElasticFunctionalityFacade elasticFunctionalityFacade)
isShowHint
public boolean isShowHint()
setShowHint
public void setShowHint(boolean showHint)
setElasticAccountBean
public void setElasticAccountBean(ElasticAccountBean elasticAccountBean)
getFieldAverageTimeInQueueThreshold
public int getFieldAverageTimeInQueueThreshold()
setFieldAverageTimeInQueueThreshold
public void setFieldAverageTimeInQueueThreshold(int fieldAverageTimeInQueueThreshold)
getFieldElasticBuildsInQueueThreshold
public int getFieldElasticBuildsInQueueThreshold()
setFieldElasticBuildsInQueueThreshold
public void setFieldElasticBuildsInQueueThreshold(int fieldElasticBuildsInQueueThreshold)
getFieldTotalBuildInQueueThreshold
public int getFieldTotalBuildInQueueThreshold()
setFieldTotalBuildInQueueThreshold
public void setFieldTotalBuildInQueueThreshold(int fieldTotalBuildInQueueThreshold)
getFieldMaxElasticInstancesToStartAtOnce
public int getFieldMaxElasticInstancesToStartAtOnce()
setFieldMaxElasticInstancesToStartAtOnce
public void setFieldMaxElasticInstancesToStartAtOnce(int fieldMaxElasticInstancesToStartAtOnce)
getFieldMaxNonBambooInstances
public int getFieldMaxNonBambooInstances()
setFieldMaxNonBambooInstances
public void setFieldMaxNonBambooInstances(int fieldMaxNonBambooInstances)
getFieldInstanceIdleTimeThreshold
public int getFieldInstanceIdleTimeThreshold()
setFieldInstanceIdleTimeThreshold
public void setFieldInstanceIdleTimeThreshold(int fieldInstanceIdleTimeThreshold)
getRequestedElasticInstancesCount
public int getRequestedElasticInstancesCount()
getRunningElasticInstancesCount
public int getRunningElasticInstancesCount()
setAwsAccountBean
public void setAwsAccountBean(AwsAccountBean awsAccountBean)
Copyright © 2012 Atlassian. All Rights Reserved.