com.atlassian.bamboo.ww2.actions.admin.elastic
Class ElasticUIBeanImpl
java.lang.Object
com.atlassian.bamboo.ww2.actions.admin.elastic.ElasticUIBeanImpl
- All Implemented Interfaces:
- ElasticUIBean
public class ElasticUIBeanImpl
- extends Object
- implements ElasticUIBean
Bean class for a bunch of helper methods for the UI that don't require any context information st
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElasticUIBeanImpl
public ElasticUIBeanImpl(AgentManager agentManager,
ElasticInstanceManagerImpl elasticInstanceManager,
AwsAccountBean awsAccountBean)
getStateImagePath
public String getStateImagePath(RemoteElasticInstanceState state)
- Specified by:
getStateImagePath
in interface ElasticUIBean
getStateDescription
public String getStateDescription(RemoteElasticInstanceState state)
- Specified by:
getStateDescription
in interface ElasticUIBean
getAgentById
@Nullable
public BuildAgent getAgentById(long agentId)
- Specified by:
getAgentById
in interface ElasticUIBean
getActiveInstancesCountForConfiguration
public int getActiveInstancesCountForConfiguration(ElasticImageConfiguration elasticImageConfiguration)
- Specified by:
getActiveInstancesCountForConfiguration
in interface ElasticUIBean
getInstancePrice
@Nullable
public Double getInstancePrice(RemoteElasticInstance instance)
throws com.atlassian.aws.AWSException
- Specified by:
getInstancePrice
in interface ElasticUIBean
- Throws:
com.atlassian.aws.AWSException
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.