Class ApplicationPreferences


  • public class ApplicationPreferences
    extends AbstractNotificationPreferences
    Wrap the notification preferences of a given application.
    Since:
    9.7RC1
    Version:
    $Id: b107126c31760dd597f134e0ed1672909869ad2d $
    • Constructor Detail

      • ApplicationPreferences

        public ApplicationPreferences​(org.openqa.selenium.WebElement webElement,
                                      XWikiWebDriver driver)
        Construct an ApplicationPreferences.
        Parameters:
        webElement - table body of the application
        driver - the web driver
    • Method Detail

      • getApplicationId

        public String getApplicationId()
        Returns:
        the application id
      • getApplicationName

        public String getApplicationName()
        Returns:
        the application name
      • isCollapsed

        public boolean isCollapsed()
        Returns:
        if the application details are collapsed (hidden)
      • setCollapsed

        public void setCollapsed​(boolean wantedState)
        Set if the application details should be collapsed (hidden).
        Parameters:
        wantedState - expected state
      • getEventTypePreferences

        public Map<String,​EventTypePreferences> getEventTypePreferences()
        Returns:
        a map of preferences for each event type of the application