Class ConfigureSpotInstancesAction

java.lang.Object
org.apache.struts2.ActionSupport
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, org.apache.struts2.action.Action, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.Validateable

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 @TemplateAccessible public @Nullable Double getBid(String product, software.amazon.awssdk.services.ec2.model.InstanceType instanceType)
    • getCurrentSpotPrices

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

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