com.atlassian.bamboo.pageobjects.pages.plan.configuration
Class ConfigurePlanTriggersPage
java.lang.Object
com.atlassian.bamboo.pageobjects.pages.AbstractBambooPage
com.atlassian.bamboo.pageobjects.pages.plan.configuration.ConfigurePlanTriggersPage
- All Implemented Interfaces:
- com.atlassian.pageobjects.Page
public class ConfigurePlanTriggersPage
- extends AbstractBambooPage
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurePlanTriggersPage
public ConfigurePlanTriggersPage(PlanKey planKey)
addTrigger
public TriggersComponent addTrigger()
removeAllTriggers
public ConfigurePlanTriggersPage removeAllTriggers()
saveTrigger
public ConfigurePlanTriggersPage saveTrigger()
editTrigger
public <T> T editTrigger(@NotNull
java.lang.Class<T> triggerComponentClass,
int positionOnList)
isTriggerPresent
public boolean isTriggerPresent(@NotNull
java.lang.String triggerDisplayName,
@Nullable
java.lang.String userDescription)
- Checks if specified trigger is present on plan's trigger list.
- Parameters:
triggerDisplayName
- The display name on the list - result of calling BuildStrategy.getName()
.userDescription
- (Optional) User description of the trigger. If null or empty string is passed user
description will not be verified, otherwise it has to match (case sensitive).
- Returns:
- True if specified trigger is present on the trigger list, false otherwise.
getNumberOfTriggers
public int getNumberOfTriggers()
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 java.lang.String getUrl()
Copyright © 2014 Atlassian Software Systems Pty Ltd. All Rights Reserved.