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
-
Field Summary
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct, timeouts
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddAfterSuccessfulPlanTriggerWithCustomBranch
(@NotNull String triggeringBranchName) Add AfterSuccessfulPlanTrigger for inherited branchaddCronTriggerWithCustomBranch
(@NotNull String sourceBranchName, @NotNull String cronExpression) addCronTriggerWithInheritedBranch
(@NotNull String cronExpression) Add CronTriggerBuildStrategy for inherited branch<T extends TriggerComponent>
TaddTrigger
(String triggerType, Class<T> trigger) boolean
void
deleteTrigger
(int triggerId) void
editCronTrigger
(int triggerId, @NotNull String cronExpression) <T> T
editTrigger
(int triggerId, Class<T> triggerComponentClass) <T> T
editTrigger
(TriggerListElement triggerListElement, Class<T> triggerComponentClass) int
getUrl()
com.atlassian.pageobjects.elements.PageElement
This must return an element whose presence indicates that we're on given page.void
Methods inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
click, doWait, ensureIndicatorPresent, getFooter, getHeader, getTimeouts, isAdmin, isLoggedIn, isPageLoaded, sendEscapeKey, waitUntilElementIsLocated, waitUntilElementIsNotLocated, waitUntilElementIsNotVisible, waitUntilElementIsVisible
-
Constructor Details
-
ConfigureEnvironmentTriggersPage
-
-
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
-
addTrigger
-
saveTrigger
public void saveTrigger() -
deleteTrigger
public void deleteTrigger(int triggerId) -
editTrigger
-
editTrigger
-
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
-
getTriggerCount
public int getTriggerCount() -
getTriggerElements
-
canAddTrigger
public boolean canAddTrigger()
-