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
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
driver, elementFinder, pageBinder, poller, testedProduct, timeouts
-
-
Constructor Summary
Constructors Constructor Description ConfigureEnvironmentTriggersPage(String environmentId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigureEnvironmentTriggersPage
addAfterSuccessfulPlanTriggerWithCustomBranch(@NotNull String triggeringBranchName)
ConfigureEnvironmentTriggersPage
addAfterSuccessfulPlanTriggerWithInheritedBranch()
Add AfterSuccessfulPlanTrigger for inherited branchConfigureEnvironmentTriggersPage
addCronTriggerWithCustomBranch(@NotNull String sourceBranchName, @NotNull String cronExpression)
ConfigureEnvironmentTriggersPage
addCronTriggerWithInheritedBranch(@NotNull String cronExpression)
Add CronTriggerBuildStrategy for inherited branch<T extends TriggerComponent>
TaddTrigger(String triggerType, Class<T> trigger)
boolean
canAddTrigger()
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
getTriggerCount()
Iterable<TriggerListElement>
getTriggerElements()
String
getUrl()
com.atlassian.pageobjects.elements.PageElement
indicator()
This must return an element whose presence indicates that we're on given page.void
saveTrigger()
-
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 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 classAbstractBambooPage
- 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()
-
-