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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getActiveInstancesCountForConfiguration(@NotNull ElasticImageConfiguration elasticImageConfiguration)
@Nullable BuildAgent
getAgentById(long agentId)
@NotNull Map<String,AutomaticInstanceManagementConfig>
getAutoInstanceManagementConfigs()
Get a map of key -> AutomaticInstanceManagementConfig.@Nullable Double
getInstancePrice(RemoteElasticInstance instance)
String
getStateDescription(RemoteElasticInstanceState state)
String
getStateImageIcon(RemoteElasticInstanceState state)
-
-
-
Method Detail
-
getStateImageIcon
String getStateImageIcon(RemoteElasticInstanceState state)
-
getStateDescription
String getStateDescription(RemoteElasticInstanceState state)
-
getAgentById
@Nullable @Nullable BuildAgent getAgentById(long agentId)
-
getActiveInstancesCountForConfiguration
int getActiveInstancesCountForConfiguration(@NotNull @NotNull ElasticImageConfiguration elasticImageConfiguration)
-
getInstancePrice
@Nullable @Nullable Double getInstancePrice(RemoteElasticInstance instance) throws com.atlassian.aws.AWSException
- Throws:
com.atlassian.aws.AWSException
-
getAutoInstanceManagementConfigs
@NotNull @NotNull Map<String,AutomaticInstanceManagementConfig> getAutoInstanceManagementConfigs()
Get a map of key -> AutomaticInstanceManagementConfig. Key is displayable configuration name.
-
-