Class NotificationsRSS
- java.lang.Object
-
- org.xwiki.platform.notifications.test.po.NotificationsRSS
-
public class NotificationsRSS extends Object
Used to parse the notification RSS feed.- Since:
- 11.5RC1, 11.4, 11.3.1
- Version:
- $Id: 56a6d462e0ae7a9a9d79f37357031eaa3249c110 $
-
-
Constructor Summary
Constructors Constructor Description NotificationsRSS(String url, String user, String password)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<com.sun.syndication.feed.synd.SyndEntry>
getEntries()
void
loadEntries(String containerDomain, String realDomain)
Allow to load the entries but transform first the URL to load them from the real host domain: it might be different than the one from the retrieved URL since this class is not executed inside a docker container, and the servletEngine might not be inside a container either.
-
-
-
Method Detail
-
loadEntries
public void loadEntries(String containerDomain, String realDomain)
Allow to load the entries but transform first the URL to load them from the real host domain: it might be different than the one from the retrieved URL since this class is not executed inside a docker container, and the servletEngine might not be inside a container either.- Parameters:
containerDomain
- the domain used inside the browserrealDomain
- the real domain to use to access the servletEngine from the test.- Since:
- 12.3RC1
-
getEntries
public List<com.sun.syndication.feed.synd.SyndEntry> getEntries()
- Returns:
- the RSS entries
-
-