public class NotificationFilterPreference extends Object
Constructor and Description |
---|
NotificationFilterPreference(NotificationsUserProfilePage parentPage,
org.openqa.selenium.WebElement webElement,
XWikiWebDriver driver)
Construct a NotificationFilterPreference.
|
Modifier and Type | Method and Description |
---|---|
void |
delete()
Delete the filter preference.
|
List<String> |
getEventTypes() |
String |
getFilterName() |
String |
getFilterType() |
List<String> |
getFormats() |
String |
getLocation() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled)
Enable or disable the current filter.
|
String |
toString() |
public NotificationFilterPreference(NotificationsUserProfilePage parentPage, org.openqa.selenium.WebElement webElement, XWikiWebDriver driver)
parentPage
- the user profile's page holding the livetable.webElement
- the livetable rowdriver
- the current webdriver in usedpublic String getFilterName()
public String getFilterType()
public List<String> getEventTypes()
public boolean isEnabled()
public void setEnabled(boolean enabled) throws Exception
enabled
- either or not the filter must be enabledException
- if the expected state cannot be setpublic String getLocation()
public void delete()
Copyright © 2004–2019 XWiki. All rights reserved.