Class ViewElasticInstanceAction

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

    • ViewElasticInstanceAction

      public ViewElasticInstanceAction()
  • Method Details

    • input

      public String input() throws Exception
      Overrides:
      input in class com.opensymphony.xwork2.ActionSupport
      Throws:
      Exception
    • view

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

      @NotNull public @NotNull String getInstanceLog()
    • getInstanceId

      public String getInstanceId()
    • setInstanceId

      public void setInstanceId(String instanceId)
    • getStateIcon

      public String getStateIcon()
    • getStateDescription

      public String getStateDescription()
    • allowShutdown

      public boolean allowShutdown()
    • getAgent

      public RemoteElasticInstance getAgent()
    • getInstance

      public com.atlassian.aws.ec2.RemoteEC2Instance getInstance()
    • getVolumes

      public List<com.amazonaws.services.ec2.model.InstanceBlockDeviceMapping> getVolumes(String instanceId) throws com.atlassian.aws.AWSException
      Throws:
      com.atlassian.aws.AWSException
    • getUnvalidatedPkLocation

      public String getUnvalidatedPkLocation()
    • getKeyPairName

      public String getKeyPairName()
    • getErrorOrPrivateKeyLocation

      @NotNull public @NotNull io.atlassian.fugue.Either<ElasticFunctionalityFacade.Ec2PrivateKeyValidationStatus,File> getErrorOrPrivateKeyLocation()
    • getPassword

      @Nullable public @Nullable String getPassword()
    • isSshEnabled

      public boolean isSshEnabled()
    • isRdcEnabled

      public boolean isRdcEnabled()
    • getAgentDefinition

      public ElasticAgentDefinition getAgentDefinition()
    • getBuildAgent

      public BuildAgent getBuildAgent()
    • getImage

      public ElasticImageConfiguration getImage()
    • setElasticAgentManager

      public void setElasticAgentManager(ElasticInstanceManager elasticInstanceManager)
    • setAgentManager

      public void setAgentManager(AgentManager agentManager)
    • setElasticFunctionalityFacade

      public void setElasticFunctionalityFacade(ElasticFunctionalityFacade elasticFunctionalityFacade)
    • getElasticUIBean

      public ElasticUIBean getElasticUIBean()
    • setElasticUIBean

      public void setElasticUIBean(ElasticUIBean elasticUIBean)
    • setAwsAccountBean

      public void setAwsAccountBean(AwsAccountBean awsAccountBean)