Class WebRecentlyUpdatedChangeSet
- java.lang.Object
-
- com.atlassian.confluence.it.dashboard.WebRecentlyUpdatedChangeSet
-
- All Implemented Interfaces:
RecentlyUpdatedChangeSet
,Iterable<RecentlyUpdatedItem>
public class WebRecentlyUpdatedChangeSet extends Object implements RecentlyUpdatedChangeSet
-
-
Constructor Summary
Constructors Constructor Description WebRecentlyUpdatedChangeSet(int index, List<WebRecentlyUpdatedItem> items)
WebRecentlyUpdatedChangeSet(int index, List<WebRecentlyUpdatedItem> items, net.sourceforge.jwebunit.junit.WebTester webTester)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAuthor()
The author of the changeset.String
getAuthorUrl()
The URL of the link to the author, which may be relative.String
getImageLinkUrl()
The URL of the link surrounding the image used for the author.String
getImageUrl()
The URL of the source of the image used for the author.RecentlyUpdatedItem
getItem(int index)
Returns the recent update with the specified index, or null if no such item exists.Iterator<RecentlyUpdatedItem>
iterator()
int
size()
Returns the number of items in this changeset.String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
WebRecentlyUpdatedChangeSet
public WebRecentlyUpdatedChangeSet(int index, List<WebRecentlyUpdatedItem> items)
-
WebRecentlyUpdatedChangeSet
public WebRecentlyUpdatedChangeSet(int index, List<WebRecentlyUpdatedItem> items, net.sourceforge.jwebunit.junit.WebTester webTester)
-
-
Method Detail
-
getAuthor
public String getAuthor()
Description copied from interface:RecentlyUpdatedChangeSet
The author of the changeset. Normally a user's full name, or "Anonymous".- Specified by:
getAuthor
in interfaceRecentlyUpdatedChangeSet
-
getAuthorUrl
public String getAuthorUrl()
Description copied from interface:RecentlyUpdatedChangeSet
The URL of the link to the author, which may be relative. If there is no URL on the author's name in this change-set, returns null.- Specified by:
getAuthorUrl
in interfaceRecentlyUpdatedChangeSet
-
getImageUrl
public String getImageUrl()
Description copied from interface:RecentlyUpdatedChangeSet
The URL of the source of the image used for the author. Normally a user's profile picture, or the "add your profile picture" prompt image. If there is no author image for the change-set, returns null.- Specified by:
getImageUrl
in interfaceRecentlyUpdatedChangeSet
-
getImageLinkUrl
public String getImageLinkUrl()
Description copied from interface:RecentlyUpdatedChangeSet
The URL of the link surrounding the image used for the author. Normally links to the user's profile or personal space. If there is no author image for the change-set, or the image does not have a link, returns null.- Specified by:
getImageLinkUrl
in interfaceRecentlyUpdatedChangeSet
-
size
public int size()
Description copied from interface:RecentlyUpdatedChangeSet
Returns the number of items in this changeset. There will always be at least 1.- Specified by:
size
in interfaceRecentlyUpdatedChangeSet
-
getItem
public RecentlyUpdatedItem getItem(int index)
Description copied from interface:RecentlyUpdatedChangeSet
Returns the recent update with the specified index, or null if no such item exists. The index is zero-based, with zero being the most recent item.- Specified by:
getItem
in interfaceRecentlyUpdatedChangeSet
- Parameters:
index
- zero-based index of the item to return- Returns:
- the item with the given index, or null if it does not exist.
-
iterator
public Iterator<RecentlyUpdatedItem> iterator()
- Specified by:
iterator
in interfaceIterable<RecentlyUpdatedItem>
-
-