|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ElasticFunctionalityFacade
Facade that orchestrates EC2 related functionalities
| Field Summary | |
|---|---|
static int |
DEFAULT_ALLOWED_AGENTS
|
static java.lang.String |
ELASTIC_BAMBOO_SECURITY_GROUP
|
| Method Summary | |
|---|---|
void |
addElasticLogEntry(java.lang.String logEntry)
|
void |
adjustElasticInstanceNumbers(ElasticInstanceSchedule instanceSchedule)
Given the ElasticInstanceSchedule startup or bring down the correct number of agents |
int |
getMaxConcurrentInstances()
|
java.lang.String |
getPkFileLocation()
|
boolean |
isElasticSupportEnabled()
|
boolean |
isElasticSupportPossible(ErrorCollection errorCollection)
|
void |
recheckElasticSupportEnabledFlag()
|
void |
setElasticSupportEnabled(boolean elasticSupportEnabled)
Enable/disable Elastic Bamboo functionality |
void |
shutdownAllInstances()
|
void |
shutdownInstance(RemoteElasticInstance elasticInstance)
|
void |
shutdownInstance(java.lang.String instanceId)
|
void |
startupAgents(java.util.Collection<ElasticImageConfiguration> elasticImageConfigurations)
|
void |
updateAgentPendingStatus(java.lang.String instanceId)
Set the agent pending status to true for the given instance id |
boolean |
validateAgentCreation(int numAgentsRequired,
ErrorCollection errorCollection)
Validates whether the requested number of agents can be created and adds any errors to the error collection. |
| Field Detail |
|---|
static final java.lang.String ELASTIC_BAMBOO_SECURITY_GROUP
static final int DEFAULT_ALLOWED_AGENTS
| Method Detail |
|---|
void recheckElasticSupportEnabledFlag()
void shutdownInstance(@NotNull
RemoteElasticInstance elasticInstance)
void shutdownInstance(java.lang.String instanceId)
throws com.atlassian.aws.AWSException
com.atlassian.aws.AWSExceptionvoid shutdownAllInstances()
void startupAgents(java.util.Collection<ElasticImageConfiguration> elasticImageConfigurations)
throws com.atlassian.aws.AWSException
com.atlassian.aws.AWSException
boolean validateAgentCreation(int numAgentsRequired,
ErrorCollection errorCollection)
numAgentsRequired - - number of agents to be createderrorCollection - - error collection to add any validation errors to.boolean isElasticSupportEnabled()
void setElasticSupportEnabled(boolean elasticSupportEnabled)
elasticSupportEnabled - Specifies if Elastc Baboo shall be enabled or disabled.
boolean isElasticSupportPossible(@NotNull
ErrorCollection errorCollection)
@NotNull java.lang.String getPkFileLocation()
int getMaxConcurrentInstances()
void updateAgentPendingStatus(java.lang.String instanceId)
instanceId - void addElasticLogEntry(java.lang.String logEntry)
void adjustElasticInstanceNumbers(@NotNull
ElasticInstanceSchedule instanceSchedule)
throws com.atlassian.aws.AWSException
ElasticInstanceSchedule startup or bring down the correct number of agents
instanceSchedule -
com.atlassian.aws.AWSException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||