public class ApplicationPreferences extends AbstractNotificationPreferences
alertSwitch, driver, emailSwitch, webElement
Constructor and Description |
---|
ApplicationPreferences(org.openqa.selenium.WebElement webElement,
XWikiWebDriver driver)
Construct an ApplicationPreferences.
|
Modifier and Type | Method and Description |
---|---|
String |
getApplicationId() |
String |
getApplicationName() |
Map<String,EventTypePreferences> |
getEventTypePreferences() |
protected BootstrapSwitch |
getSwitch(String format) |
boolean |
isCollapsed() |
void |
setCollapsed(boolean wantedState)
Set if the application details should be collapsed (hidden).
|
getAlertState, getEmailState, setAlertState, setEmailState
getDriver, getUtil, isElementVisible, setContext, waitForNotificationErrorMessage, waitForNotificationInProgressMessage, waitForNotificationSuccessMessage, waitForNotificationWarningMessage, waitUntilPageJSIsLoaded
public ApplicationPreferences(org.openqa.selenium.WebElement webElement, XWikiWebDriver driver)
webElement
- table body of the applicationdriver
- the web driverpublic String getApplicationId()
public String getApplicationName()
public boolean isCollapsed()
public void setCollapsed(boolean wantedState)
wantedState
- expected stateprotected BootstrapSwitch getSwitch(String format)
getSwitch
in class AbstractNotificationPreferences
format
- the format of the notificationpublic Map<String,EventTypePreferences> getEventTypePreferences()
Copyright © 2004–2022 XWiki. All rights reserved.