Class ManageElasticInstancesAction

java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.configuration.GlobalAdminAction
com.atlassian.bamboo.ww2.actions.admin.elastic.ManageElasticInstancesAction
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 ManageElasticInstancesAction extends GlobalAdminAction
See Also:
  • Constructor Details

    • ManageElasticInstancesAction

      public ManageElasticInstancesAction()
  • Method Details

    • validateInstanceCreation

      public void validateInstanceCreation()
    • view

      public String view() throws Exception
      Throws:
      Exception
    • prepareCreate

      public String prepareCreate()
    • create

      public String create()
    • shutdownAllInstances

      public String shutdownAllInstances()
    • shutdownInstance

      public String shutdownInstance()
    • getElasticErrors

      public Collection<ErrorDetails> getElasticErrors()
    • getMaxAllowedInstances

      public int getMaxAllowedInstances()
    • getRunningElasticInstances

      public List<RemoteElasticInstance> getRunningElasticInstances()
      Returns:
      List of running elastic instances sorted in chronological (oldest first) order.
    • isAnyRunningElasticInstancesShutdownable

      public boolean isAnyRunningElasticInstancesShutdownable()
    • getRequestedElasticInstances

      public List<RemoteElasticInstance> getRequestedElasticInstances()
    • getNumAgentsToCreate

      public String getNumAgentsToCreate()
    • setNumAgentsToCreate

      public void setNumAgentsToCreate(String numAgentsToCreate)
    • getElasticImageConfigurations

      public Collection<ElasticImageConfiguration> getElasticImageConfigurations()
    • setElasticImageConfigurations

      public void setElasticImageConfigurations(Collection<ElasticImageConfiguration> elasticImageConfigurations)
    • getElasticImageConfiguration

      public ElasticImageConfiguration getElasticImageConfiguration()
    • setElasticImageConfiguration

      public void setElasticImageConfiguration(ElasticImageConfiguration elasticImageConfiguration)
    • getElasticImageConfigurationId

      public long getElasticImageConfigurationId()
    • setElasticImageConfigurationId

      public void setElasticImageConfigurationId(long elasticImageConfigurationId)
    • getElasticAgentLogs

      public List<String> getElasticAgentLogs()
    • setElasticAgentManager

      public void setElasticAgentManager(ElasticInstanceManager elasticInstanceManager)
    • setElasticFunctionalityFacade

      public void setElasticFunctionalityFacade(ElasticFunctionalityFacade elasticFunctionalityFacade)
    • getInstanceId

      public String getInstanceId()
    • setInstanceId

      public void setInstanceId(String instanceId)
    • setConfirmed

      public void setConfirmed(boolean confirmed)
    • isShutdownAll

      public boolean isShutdownAll()
    • isBaseUrlMatchesRequestUrl

      public boolean isBaseUrlMatchesRequestUrl()
    • getInstanceTypes

      public Map getInstanceTypes()
    • isAgentCreationPossible

      public boolean isAgentCreationPossible()
    • getElasticUIBean

      public ElasticUIBean getElasticUIBean()