Class EditElasticConfigurationPage
java.lang.Object
com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
com.atlassian.bamboo.pageobjects.pages.admin.AbstractBambooAdminPage
com.atlassian.bamboo.pageobjects.pages.admin.elastic.EditElasticConfigurationPage
- All Implemented Interfaces:
com.atlassian.pageobjects.Page
-
Field Summary
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct, timeouts
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
int
int
int
int
int
int
int
com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region
int
getUrl()
com.atlassian.pageobjects.elements.PageElement
This must return an element whose presence indicates that we're on given page.boolean
boolean
boolean
save()
withAccessKey
(@NotNull String accessKeyId, @NotNull String accessKeySecret) withAutomaticInstanceManagementPreset
(@NotNull AutomaticInstanceManagementConfig config) withAutomaticShutdownDelay
(int seconds) withCertificateFile
(@NotNull String certificateFile) withMaximumNumberOfElasticAgents
(int numberOfElasticAgents) withPrivateKeyFile
(@NotNull String privateKeyFile) withRegion
(com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region region) Methods inherited from class com.atlassian.bamboo.pageobjects.pages.admin.AbstractBambooAdminPage
doWait, getStateBanner
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
click, ensureIndicatorPresent, getFooter, getHeader, getTimeouts, isAdmin, isLoggedIn, isPageLoaded, sendEscapeKey, waitUntilElementIsLocated, waitUntilElementIsNotLocated, waitUntilElementIsNotVisible, waitUntilElementIsVisible
-
Constructor Details
-
EditElasticConfigurationPage
public EditElasticConfigurationPage()
-
-
Method Details
-
indicator
public com.atlassian.pageobjects.elements.PageElement indicator()Description copied from class:AbstractBambooPage
This must return an element whose presence indicates that we're on given page.- Specified by:
indicator
in classAbstractBambooPage
- Returns:
- element uniquely identifying given page
-
getUrl
-
bindComponents
public void bindComponents() -
withMaximumNumberOfElasticAgents
-
withAccessKey
public EditElasticConfigurationPage withAccessKey(@NotNull @NotNull String accessKeyId, @NotNull @NotNull String accessKeySecret) -
withIamRole
-
withRegion
public EditElasticConfigurationPage withRegion(@NotNull com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region region) -
withPrivateKeyFile
-
withCertificateFile
-
withUploadingAccountDetailsEnabled
-
withUploadingAccountDetailsDisabled
-
withElasticIPManagementEnabled
-
withElasticIPManagementDisabled
-
withAutomaticShutdownEnabled
-
withAutomaticShutdownDisabled
-
withAutomaticShutdownDelay
-
withAutomaticInstanceManagementPreset
public EditElasticConfigurationPage withAutomaticInstanceManagementPreset(@NotNull @NotNull AutomaticInstanceManagementConfig config) -
save
-
saveExpectingErrors
-
getMaximumNumberOfElasticAgents
public int getMaximumNumberOfElasticAgents() -
getAccessKeyId
-
getRegion
public com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region getRegion() -
getPrivateKeyFile
-
getCertificateFile
-
isUploadingAccountDetailsEnabled
public boolean isUploadingAccountDetailsEnabled() -
isElasticIPManagementEnabled
public boolean isElasticIPManagementEnabled() -
isAutomaticShutdownEnabled
public boolean isAutomaticShutdownEnabled() -
getAutomaticShutdownDelay
public int getAutomaticShutdownDelay() -
getAutomaticInstanceManagementPresetName
-
getInstanceIdleTimeThreshold
public int getInstanceIdleTimeThreshold() -
getMaxNonBambooInstances
public int getMaxNonBambooInstances() -
getMaxElasticInstancesToStartAtOnce
public int getMaxElasticInstancesToStartAtOnce() -
getTotalBuildInQueueThreshold
public int getTotalBuildInQueueThreshold() -
getElasticBuildsInQueueThreshold
public int getElasticBuildsInQueueThreshold() -
getAverageTimeInQueueThreshold
public int getAverageTimeInQueueThreshold() -
getErrorMessages
-