Class ConfigureEnvironmentTriggersPage

java.lang.Object
com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
com.atlassian.bamboo.pageobjects.pages.deployment.environments.ConfigureEnvironmentTriggersPage
All Implemented Interfaces:
com.atlassian.pageobjects.Page

public class ConfigureEnvironmentTriggersPage extends AbstractBambooPage
  • Constructor Details

    • ConfigureEnvironmentTriggersPage

      public ConfigureEnvironmentTriggersPage(String environmentId)
  • 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()
    • addTrigger

      public <T extends TriggerComponent> T addTrigger(String triggerType, Class<T> trigger)
    • saveTrigger

      public void saveTrigger()
    • deleteTrigger

      public void deleteTrigger(int triggerId)
    • editTrigger

      public <T> T editTrigger(int triggerId, Class<T> triggerComponentClass)
    • editTrigger

      public <T> T editTrigger(TriggerListElement triggerListElement, Class<T> triggerComponentClass)
    • addAfterSuccessfulPlanTriggerWithInheritedBranch

      public ConfigureEnvironmentTriggersPage addAfterSuccessfulPlanTriggerWithInheritedBranch()
      Add AfterSuccessfulPlanTrigger for inherited branch
    • addAfterSuccessfulPlanTriggerWithCustomBranch

      public ConfigureEnvironmentTriggersPage addAfterSuccessfulPlanTriggerWithCustomBranch(@NotNull @NotNull String triggeringBranchName)
    • addCronTriggerWithInheritedBranch

      public ConfigureEnvironmentTriggersPage addCronTriggerWithInheritedBranch(@NotNull @NotNull String cronExpression)
      Add CronTriggerBuildStrategy for inherited branch
    • addCronTriggerWithCustomBranch

      public ConfigureEnvironmentTriggersPage addCronTriggerWithCustomBranch(@NotNull @NotNull String sourceBranchName, @NotNull @NotNull String cronExpression)
    • editCronTrigger

      public void editCronTrigger(int triggerId, @NotNull @NotNull String cronExpression)
    • getTriggerCount

      public int getTriggerCount()
    • getTriggerElements

      public Iterable<TriggerListElement> getTriggerElements()
    • canAddTrigger

      public boolean canAddTrigger()