Class ConfigureEnvironmentTriggersPage

  • All Implemented Interfaces:
    com.atlassian.pageobjects.Page

    public class ConfigureEnvironmentTriggersPage
    extends AbstractBambooPage
    • Constructor Detail

      • ConfigureEnvironmentTriggersPage

        public ConfigureEnvironmentTriggersPage​(String environmentId)
    • 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 class AbstractBambooPage
        Returns:
        element uniquely identifying given page
      • getUrl

        public String getUrl()
      • 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
      • addCronTriggerWithInheritedBranch

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

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

        public int getTriggerCount()
      • canAddTrigger

        public boolean canAddTrigger()