com.atlassian.bamboo.ww2.actions.admin.elastic
Interface ElasticUIBean

All Known Implementing Classes:
ElasticUIBeanImpl

public interface ElasticUIBean

Interface for a bunch of helper methods for the UI that don't require any context information


Method Summary
 int getActiveInstancesCountForConfiguration(ElasticImageConfiguration elasticImageConfiguration)
           
 BuildAgent getAgentById(long agentId)
           
 Double getInstancePrice(RemoteElasticInstance instance)
           
 String getStateDescription(RemoteElasticInstanceState state)
           
 String getStateImagePath(RemoteElasticInstanceState state)
           
 

Method Detail

getStateImagePath

String getStateImagePath(RemoteElasticInstanceState state)

getStateDescription

String getStateDescription(RemoteElasticInstanceState state)

getAgentById

@Nullable
BuildAgent getAgentById(long agentId)

getActiveInstancesCountForConfiguration

int getActiveInstancesCountForConfiguration(ElasticImageConfiguration elasticImageConfiguration)

getInstancePrice

@Nullable
Double getInstancePrice(RemoteElasticInstance instance)
                        throws com.atlassian.aws.AWSException
Throws:
com.atlassian.aws.AWSException


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