public class ConfigureSpotInstancesAction extends GlobalAdminAction implements GlobalAdminSecurityAware
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 |
---|
ConfigureSpotInstancesAction() |
ConfigureSpotInstancesAction(AwsAccountBean awsAccountBean,
SpotInstanceConfigurationAccessor spotInstanceConfigurationAccessor,
SpotInstanceConfigurationManager spotInstanceConfigurationManager) |
Modifier and Type | Method and Description |
---|---|
String |
edit() |
Double |
getBid(String product,
com.amazonaws.services.ec2.model.InstanceType instanceType) |
com.atlassian.aws.ec2.SpotPrices |
getCurrentSpotPrices() |
int |
getFieldSpotInstancesTimeoutMinutes() |
com.atlassian.aws.ec2.EC2InstanceType[] |
getInstanceTypes() |
SpotInstanceConfig |
getSpotInstanceConfig() |
boolean |
isFieldSpotInstancesEnabled() |
String |
read() |
String |
save() |
void |
setFieldSpotInstancesEnabled(boolean fieldSpotInstancesEnabled) |
void |
setFieldSpotInstancesTimeoutMinutes(int fieldSpotInstancesTimeoutMinutes) |
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, 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, hasPlanPermission, hasRestrictedAdminPermission, 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, 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, validate
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSecuredDomainObject
getAllErrorMessages
public ConfigureSpotInstancesAction()
public ConfigureSpotInstancesAction(AwsAccountBean awsAccountBean, SpotInstanceConfigurationAccessor spotInstanceConfigurationAccessor, SpotInstanceConfigurationManager spotInstanceConfigurationManager)
public SpotInstanceConfig getSpotInstanceConfig()
public boolean isFieldSpotInstancesEnabled()
public void setFieldSpotInstancesEnabled(boolean fieldSpotInstancesEnabled)
public int getFieldSpotInstancesTimeoutMinutes()
public void setFieldSpotInstancesTimeoutMinutes(int fieldSpotInstancesTimeoutMinutes)
@Nullable public Double getBid(String product, com.amazonaws.services.ec2.model.InstanceType instanceType)
public com.atlassian.aws.ec2.SpotPrices getCurrentSpotPrices()
public com.atlassian.aws.ec2.EC2InstanceType[] getInstanceTypes()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.