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

java.lang.Object
  extended by com.atlassian.bamboo.ww2.actions.admin.elastic.ElasticUIBean

public class ElasticUIBean
extends java.lang.Object

Bean class for a bunch of helper methods for the UI that dont require any context information st


Constructor Summary
ElasticUIBean(LocalAgentManager localAgentManager, AdministrationConfigurationManager administrationConfigurationManager, ElasticInstanceManagerImpl elasticInstanceManager)
           
 
Method Summary
 int getActiveInstancesCountForConfiguration(ElasticImageConfiguration elasticImageConfiguration)
           
 BuildAgent getAgentById(long agentId)
           
 java.lang.String getStateDescription(RemoteElasticInstanceState state)
           
 java.lang.String getStateImagePath(RemoteElasticInstanceState state)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElasticUIBean

public ElasticUIBean(LocalAgentManager localAgentManager,
                     AdministrationConfigurationManager administrationConfigurationManager,
                     ElasticInstanceManagerImpl elasticInstanceManager)
Method Detail

getStateImagePath

public java.lang.String getStateImagePath(RemoteElasticInstanceState state)

getStateDescription

public java.lang.String getStateDescription(RemoteElasticInstanceState state)

getAgentById

public BuildAgent getAgentById(long agentId)

getActiveInstancesCountForConfiguration

public int getActiveInstancesCountForConfiguration(ElasticImageConfiguration elasticImageConfiguration)


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.