Class AbstractNotificationFilterPreference

    • Constructor Detail

      • AbstractNotificationFilterPreference

        public AbstractNotificationFilterPreference​(AbstractNotificationsSettingsPage parentPage,
                                                    org.openqa.selenium.WebElement row,
                                                    XWikiWebDriver webDriver)
        Default constructor.
        Parameters:
        parentPage - the page where the settings are displayed.
        row - the row of the livetable for this filter.
        webDriver - the webdriver to initialize the switches.
    • Method Detail

      • getFilterName

        public String getFilterName()
        Returns:
        the filter name.
      • getLivetableRow

        public org.openqa.selenium.WebElement getLivetableRow()
        Returns:
        the livetable row.
      • getFormats

        public List<String> getFormats()
        Returns:
        the formats of the filter.
      • isEnabled

        public boolean isEnabled()
        Returns:
        either or not the preference is enabled
      • setEnabled

        public void setEnabled​(boolean enabled)
                        throws Exception
        Enable or disable the current filter.
        Parameters:
        enabled - either or not the filter must be enabled
        Throws:
        Exception - if the expected state cannot be set