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
public class EditElasticConfigurationPage extends AbstractBambooAdminPage
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct, timeouts
-
-
Constructor Summary
Constructors Constructor Description EditElasticConfigurationPage()
-
Method Summary
-
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.admin.AbstractBambooAdminPage
getStateBanner
-
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
click, doWait, ensureIndicatorPresent, getFooter, getHeader, getTimeouts, isAdmin, isLoggedIn, isPageLoaded, sendEscapeKey, waitUntilElementIsLocated, waitUntilElementIsNotLocated, waitUntilElementIsNotVisible, waitUntilElementIsVisible
-
-
-
-
Method Detail
-
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
public String getUrl()
-
bindComponents
public void bindComponents()
-
withMaximumNumberOfElasticAgents
public EditElasticConfigurationPage withMaximumNumberOfElasticAgents(int numberOfElasticAgents)
-
withAccessKey
public EditElasticConfigurationPage withAccessKey(@NotNull @NotNull String accessKeyId, @NotNull @NotNull String accessKeySecret)
-
withIamRole
public EditElasticConfigurationPage withIamRole()
-
withRegion
public EditElasticConfigurationPage withRegion(@NotNull com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region region)
-
withPrivateKeyFile
public EditElasticConfigurationPage withPrivateKeyFile(@NotNull @NotNull String privateKeyFile)
-
withCertificateFile
public EditElasticConfigurationPage withCertificateFile(@NotNull @NotNull String certificateFile)
-
withUploadingAccountDetailsEnabled
public EditElasticConfigurationPage withUploadingAccountDetailsEnabled()
-
withUploadingAccountDetailsDisabled
public EditElasticConfigurationPage withUploadingAccountDetailsDisabled()
-
withElasticIPManagementEnabled
public EditElasticConfigurationPage withElasticIPManagementEnabled()
-
withElasticIPManagementDisabled
public EditElasticConfigurationPage withElasticIPManagementDisabled()
-
withAutomaticShutdownEnabled
public EditElasticConfigurationPage withAutomaticShutdownEnabled()
-
withAutomaticShutdownDisabled
public EditElasticConfigurationPage withAutomaticShutdownDisabled()
-
withAutomaticShutdownDelay
public EditElasticConfigurationPage withAutomaticShutdownDelay(int seconds)
-
withAutomaticInstanceManagementPreset
public EditElasticConfigurationPage withAutomaticInstanceManagementPreset(@NotNull @NotNull AutomaticInstanceManagementConfig config)
-
save
public ViewElasticConfigurationPage save()
-
saveExpectingErrors
public EditElasticConfigurationPage saveExpectingErrors()
-
getMaximumNumberOfElasticAgents
public int getMaximumNumberOfElasticAgents()
-
getAccessKeyId
public String getAccessKeyId()
-
getRegion
public com.atlassian.aws.ec2.awssdk.AwsSupportConstants.Region getRegion()
-
getPrivateKeyFile
public String getPrivateKeyFile()
-
getCertificateFile
public String getCertificateFile()
-
isUploadingAccountDetailsEnabled
public boolean isUploadingAccountDetailsEnabled()
-
isElasticIPManagementEnabled
public boolean isElasticIPManagementEnabled()
-
isAutomaticShutdownEnabled
public boolean isAutomaticShutdownEnabled()
-
getAutomaticShutdownDelay
public int getAutomaticShutdownDelay()
-
getAutomaticInstanceManagementPresetName
public String 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()
-
-