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, 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.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 |
addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, execute, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, getBreadCrumbs, getBuildManager, getChainManager, getConcurrentBuildsNumber, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getFormattedActionErrors, getFormattedErrorMessages, getInstanceName, getJsonObject, getPlan, getReturnUrl, getSessionUser, getText, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setBuildManager, setChainManager, setCheckBoxFields, setCookieCutter, setDashboardCachingManager, setEnableJavascript, setErrorMessages, setPlanManager, setProjectManager, setReturnUrl, setWebInterfaceManager |
Methods inherited from class com.opensymphony.xwork.ActionSupport |
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setFieldErrors |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.core.i18n.I18nTextProvider |
getText |
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
doDisable
public java.lang.String doDisable()
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)
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)
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)
getFieldInstanceIdleTimeThreshold
public int getFieldInstanceIdleTimeThreshold()
setFieldInstanceIdleTimeThreshold
public void setFieldInstanceIdleTimeThreshold(int fieldInstanceIdleTimeThreshold)
Copyright © 2010 Atlassian. All Rights Reserved.