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 java.lang.Object
- implements ElasticUIBean
Bean class for a bunch of helper methods for the UI that dont 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,
AdministrationConfigurationManager administrationConfigurationManager,
ElasticInstanceManagerImpl elasticInstanceManager,
AwsAccountBean awsAccountBean)
getStateImagePath
public java.lang.String getStateImagePath(RemoteElasticInstanceState state)
- Specified by:
getStateImagePath
in interface ElasticUIBean
getStateDescription
public java.lang.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 java.lang.Double getInstancePrice(RemoteElasticInstance instance)
- Specified by:
getInstancePrice
in interface ElasticUIBean
Copyright © 2012 Atlassian. All Rights Reserved.