Class ConfigureSpotInstancesAction

java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.configuration.GlobalAdminAction
com.atlassian.bamboo.ww2.actions.admin.elastic.ConfigureSpotInstancesAction
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalAdminSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.atlassian.struts.TextProvider, com.atlassian.struts.ValidationAware, com.opensymphony.xwork.ValidationAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable

public class ConfigureSpotInstancesAction extends GlobalAdminAction implements GlobalAdminSecurityAware
See Also:
  • Constructor Details

  • Method Details

    • read

      public String read() throws Exception
      Throws:
      Exception
    • save

      public String save() throws Exception
      Throws:
      Exception
    • edit

      public String edit() throws Exception
      Throws:
      Exception
    • getSpotInstanceConfig

      public SpotInstanceConfig getSpotInstanceConfig()
    • isFieldSpotInstancesEnabled

      public boolean isFieldSpotInstancesEnabled()
    • setFieldSpotInstancesEnabled

      public void setFieldSpotInstancesEnabled(boolean fieldSpotInstancesEnabled)
    • getFieldSpotInstancesTimeoutMinutes

      public int getFieldSpotInstancesTimeoutMinutes()
    • setFieldSpotInstancesTimeoutMinutes

      public void setFieldSpotInstancesTimeoutMinutes(int fieldSpotInstancesTimeoutMinutes)
    • getBid

      @Nullable public @Nullable Double getBid(String product, com.amazonaws.services.ec2.model.InstanceType instanceType)
    • getCurrentSpotPrices

      public com.atlassian.aws.ec2.SpotPrices getCurrentSpotPrices()
    • getInstanceTypes

      public com.atlassian.aws.ec2.EC2InstanceType[] getInstanceTypes()