com.atlassian.bamboo.ww2.actions.admin.elastic
Class ConfigureElasticCloudAction

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.configuration.GlobalAdminAction
              extended by 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

Nested Class Summary
static class ConfigureElasticCloudAction.AutoElasticConfigPreset
           
 
Nested classes/interfaces inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
BambooActionSupport.JSONStatus
 
Field Summary
 
Fields inherited from class com.atlassian.bamboo.configuration.GlobalAdminAction
RESTRICTED_ADMIN_ACCESS_DENIED_ERROR
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
administrationConfigurationManager, bambooPermissionManager, buildDefinitionManager, buildManager, chainManager, CONFIRM, cookieCutter, dashboardCachingManager, planManager, projectManager
 
Fields inherited from class com.opensymphony.xwork.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
ConfigureElasticCloudAction()
           
 
Method Summary
 java.lang.String doDisable()
           
 java.lang.String doEdit()
           
 java.lang.String doEnable()
           
 java.lang.String doRead()
           
 java.lang.String doSave()
           
 java.lang.String getAutomaticInstanceManagementPreset()
           
 java.util.List<ConfigureElasticCloudAction.AutoElasticConfigPreset> getAutomaticInstanceManagementPresetList()
           
 java.util.Map<java.lang.String,ConfigureElasticCloudAction.AutoElasticConfigPreset> getAutomaticInstanceManagementPresets()
           
 java.lang.String getAwsSecretAccessKeyChange()
           
 ElasticConfiguration getElasticConfig()
           
 java.lang.String getFieldAutoShutdownDelay()
           
 int getFieldAverageTimeInQueueThreshold()
           
 java.lang.String getFieldAwsAccessKeyId()
           
 java.lang.String getFieldAwsCertFile()
           
 java.lang.String getFieldAwsPrivateKeyFile()
           
 java.lang.String getFieldAwsSecretAccessKey()
           
 int getFieldElasticBuildsInQueueThreshold()
           
 int getFieldInstanceIdleTimeThreshold()
           
 int getFieldMaxConcurrentInstances()
           
 int getFieldMaxElasticInstancesToStartAtOnce()
           
 int getFieldTotalBuildInQueueThreshold()
           
 java.lang.String getSendTest()
           
 boolean isFieldAutoInstanceManagementEnabled()
           
 boolean isFieldAutoShutdownEnabled()
           
 boolean isFieldUploadingOfAwsAccountDetailsEnabled()
           
 boolean isRemoteAgentFunctionEnabled()
           
 boolean isShowHint()
           
 boolean isValidationBypassed()
           
 void setAutomaticInstanceManagementPreset(java.lang.String presetName)
           
 void setAwsSecretAccessKeyChange(java.lang.String awsSecretAccessKeyChange)
           
 void setElasticAccountBean(ElasticAccountBean elasticAccountBean)
           
 void setElasticAgentManager(ElasticInstanceManager elasticInstanceManager)
           
 void setElasticConfig(ElasticConfiguration elasticConfig)
           
 void setElasticFunctionalityFacade(ElasticFunctionalityFacade elasticFunctionalityFacade)
           
 void setFieldAutoInstanceManagementEnabled(boolean fieldAutoInstanceManagementEnabled)
           
 void setFieldAutoShutdownDelay(java.lang.String fieldAutoShutdownDelay)
           
 void setFieldAutoShutdownEnabled(boolean fieldAutoShutdownEnabled)
           
 void setFieldAverageTimeInQueueThreshold(int fieldAverageTimeInQueueThreshold)
           
 void setFieldAwsAccessKeyId(java.lang.String fieldAwsAccessKeyId)
           
 void setFieldAwsCertFile(java.lang.String fieldAwsCertFile)
           
 void setFieldAwsPrivateKeyFile(java.lang.String fieldAwsPrivateKeyFile)
           
 void setFieldAwsSecretAccessKey(java.lang.String fieldAwsSecretAccessKey)
           
 void setFieldElasticBuildsInQueueThreshold(int fieldElasticBuildsInQueueThreshold)
           
 void setFieldInstanceIdleTimeThreshold(int fieldInstanceIdleTimeThreshold)
           
 void setFieldMaxConcurrentInstances(int fieldMaxConcurrentInstances)
           
 void setFieldMaxElasticInstancesToStartAtOnce(int fieldMaxElasticInstancesToStartAtOnce)
           
 void setFieldTotalBuildInQueueThreshold(int fieldTotalBuildInQueueThreshold)
           
 void setFieldUploadingOfAwsAccountDetailsEnabled(boolean fieldUploadingOfAwsAccountDetailsEnabled)
           
 void setSendTest(java.lang.String sendTest)
           
 void setShowHint(boolean showHint)
           
 void validate()
           
 
Methods inherited from class com.atlassian.bamboo.configuration.GlobalAdminAction
getSecuredDomainObject
 
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.bamboo.ww2.aware.permissions.DomainObjectSecurityAware
getSecuredDomainObject
 
Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection
getErrorMessages, getErrors, getFieldErrors
 
Methods inherited from interface com.atlassian.core.i18n.I18nTextProvider
getText
 

Constructor Detail

ConfigureElasticCloudAction

public ConfigureElasticCloudAction()
Method Detail

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.