|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ElasticImageConfigurationManager
Manager for managing all Bamboo-side AWS (Elastic) stuff. Does population of specific details via system properties.
Field Summary | |
---|---|
static java.lang.String |
DEFAULT_AVAILABILITY_ZONE
|
static java.lang.String |
IMAGE_CAPABILITIES_FILE
|
static java.lang.String |
WINDOWS_IMAGE_CAPABILITIES_FILE
|
Method Summary | |
---|---|
void |
disableElasticImageSchedules(ElasticImageConfiguration elasticImageConfiguration)
Disable all enabled Elastic Image Schedules associated with the Elastic Image Configuration |
int |
getBuildsCountForImageConfiguration(long id)
Returns how many builds have been built against the given build configuration. |
int |
getElasticAgentCountForImageConfiguration(long id)
How many elastic agents are associated with a specific image configuration. |
void |
populateDefaultCapabilitySet(CapabilitySet capabilitySet,
com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Platform imagePlatform)
Populates capability set with default capabilities from from IMAGE_CAPABILITIES_FILE . |
void |
removeElasticImageConfiguration(ElasticImageConfiguration elasticImageConfiguration)
Delete an elastic image configuration. |
void |
saveElasticImageConfiguration(ElasticImageConfiguration elasticImageConfiguration)
Save an elastic image configuration. |
void |
updateDefaultElasticImageConfiguration()
Performs startup operations for setting up an elastic image, including retrieving capability information. |
Methods inherited from interface com.atlassian.bamboo.agent.elastic.server.ElasticImageConfigurationAccessor |
---|
getAllElasticImageConfigurations, getElasticImageConfigurationById, getElasticImageConfigurationByName, getElasticImageConfigurationShippedWithBamboo, getElasticImageConfigurationsShippedWithBamboo |
Field Detail |
---|
static final java.lang.String IMAGE_CAPABILITIES_FILE
static final java.lang.String WINDOWS_IMAGE_CAPABILITIES_FILE
static final java.lang.String DEFAULT_AVAILABILITY_ZONE
Method Detail |
---|
int getElasticAgentCountForImageConfiguration(long id)
id
- of the image configuration
int getBuildsCountForImageConfiguration(long id)
id
- of the elastic image configuration
void saveElasticImageConfiguration(@NotNull ElasticImageConfiguration elasticImageConfiguration)
elasticImageConfiguration
- Elastic Image Configuration to be saved.void removeElasticImageConfiguration(@NotNull ElasticImageConfiguration elasticImageConfiguration) throws java.lang.Exception
ElasticInstanceSchedule
objects
elasticImageConfiguration
- Elastic Image Configuration to be deleted.
java.lang.Exception
- if the corresponding agent it needs to delete doesn't shutdown properlyvoid disableElasticImageSchedules(@NotNull ElasticImageConfiguration elasticImageConfiguration)
elasticImageConfiguration
- void updateDefaultElasticImageConfiguration() throws java.lang.Exception
java.lang.Exception
- if it can not find the default image information to setupvoid populateDefaultCapabilitySet(CapabilitySet capabilitySet, com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Platform imagePlatform)
IMAGE_CAPABILITIES_FILE
.
Will overwrite any existing capabilities.
capabilitySet
- to populate with the defaults.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |