Class EditElasticConfigurationPage

All Implemented Interfaces:
com.atlassian.pageobjects.Page

public class EditElasticConfigurationPage extends AbstractBambooAdminPage
  • 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 class AbstractBambooPage
      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

    • 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()
    • getErrorMessages

      public List<String> getErrorMessages()