Class ElasticUIBeanImpl
java.lang.Object
com.atlassian.bamboo.ww2.actions.admin.elastic.ElasticUIBeanImpl
- All Implemented Interfaces:
ElasticUIBean
Bean class for a bunch of helper methods for the UI that don't require any context information st
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetActiveInstancesCountForConfiguration(@NotNull ElasticImageConfiguration elasticImageConfiguration) @Nullable BuildAgentgetAgentById(long agentId) @NotNull Map<String,AutomaticInstanceManagementConfig> Get a map of key -> AutomaticInstanceManagementConfig.@Nullable DoublegetInstancePrice(RemoteElasticInstance instance)
-
Constructor Details
-
ElasticUIBeanImpl
public ElasticUIBeanImpl()
-
-
Method Details
-
getStateImageIcon
- Specified by:
getStateImageIconin interfaceElasticUIBean
-
getStateDescription
- Specified by:
getStateDescriptionin interfaceElasticUIBean
-
getAgentById
- Specified by:
getAgentByIdin interfaceElasticUIBean
-
getActiveInstancesCountForConfiguration
public int getActiveInstancesCountForConfiguration(@NotNull @NotNull ElasticImageConfiguration elasticImageConfiguration) - Specified by:
getActiveInstancesCountForConfigurationin interfaceElasticUIBean
-
getInstancePrice
@Nullable public @Nullable Double getInstancePrice(RemoteElasticInstance instance) throws com.atlassian.aws.AWSException - Specified by:
getInstancePricein interfaceElasticUIBean- Throws:
com.atlassian.aws.AWSException
-
getAutoInstanceManagementConfigs
@NotNull public @NotNull Map<String,AutomaticInstanceManagementConfig> getAutoInstanceManagementConfigs()Description copied from interface:ElasticUIBeanGet a map of key -> AutomaticInstanceManagementConfig. Key is displayable configuration name.- Specified by:
getAutoInstanceManagementConfigsin interfaceElasticUIBean
-