Class ConfigurePlanTriggersPage

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

    public class ConfigurePlanTriggersPage
    extends AbstractBambooPage
    • Constructor Detail

      • ConfigurePlanTriggersPage

        public ConfigurePlanTriggersPage​(PlanKey planKey)
    • Method Detail

      • editTrigger

        public <T> T editTrigger​(@NotNull
                                 @NotNull Class<T> triggerComponentClass,
                                 int positionOnList)
      • isTriggerPresent

        public boolean isTriggerPresent​(@NotNull
                                        @NotNull String triggerDisplayName,
                                        @Nullable
                                        @Nullable String userDescription)
        Checks if specified trigger is present on plan's trigger list.
        Parameters:
        triggerDisplayName - The display name on the list - result of calling NameProvider.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 String getUrl()