com.atlassian.bamboo.agent.elastic.server
Class ElasticAccountManagementServiceImpl

java.lang.Object
  extended by com.atlassian.bamboo.agent.elastic.server.ElasticAccountManagementServiceImpl
All Implemented Interfaces:
ElasticAccountManagementService

public class ElasticAccountManagementServiceImpl
extends Object
implements ElasticAccountManagementService


Constructor Summary
ElasticAccountManagementServiceImpl(AwsAccountBean awsAccountBean, AgentManager agentManager, ElasticInstanceManager elasticInstanceManager)
           
 
Method Summary
 Collection<com.amazonaws.services.ec2.model.Instance> getDisconnectedElasticInstances()
          Retrieve a list of running instances on your AWS account that were started by Bamboo, but are no longer connected to Bamboo
 Collection<com.amazonaws.services.ec2.model.Instance> getUnrelatedElasticInstances()
          Retrieve a list of running instances on your AWS account that were not started by bamboo
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElasticAccountManagementServiceImpl

public ElasticAccountManagementServiceImpl(AwsAccountBean awsAccountBean,
                                           AgentManager agentManager,
                                           ElasticInstanceManager elasticInstanceManager)
Method Detail

getDisconnectedElasticInstances

@NotNull
public Collection<com.amazonaws.services.ec2.model.Instance> getDisconnectedElasticInstances()
                                                                                      throws com.atlassian.aws.AWSException
Description copied from interface: ElasticAccountManagementService
Retrieve a list of running instances on your AWS account that were started by Bamboo, but are no longer connected to Bamboo

Specified by:
getDisconnectedElasticInstances in interface ElasticAccountManagementService
Returns:
Throws:
com.atlassian.aws.AWSException

getUnrelatedElasticInstances

@NotNull
public Collection<com.amazonaws.services.ec2.model.Instance> getUnrelatedElasticInstances()
                                                                                   throws com.atlassian.aws.AWSException
Description copied from interface: ElasticAccountManagementService
Retrieve a list of running instances on your AWS account that were not started by bamboo

Specified by:
getUnrelatedElasticInstances in interface ElasticAccountManagementService
Returns:
Throws:
com.atlassian.aws.AWSException


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.