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 StringgetAuthor()The author of the changeset.StringgetAuthorUrl()The URL of the link to the author, which may be relative.StringgetImageLinkUrl()The URL of the link surrounding the image used for the author.StringgetImageUrl()The URL of the source of the image used for the author.RecentlyUpdatedItemgetItem(int index)Returns the recent update with the specified index, or null if no such item exists.Iterator<RecentlyUpdatedItem>iterator()intsize()Returns the number of items in this changeset.StringtoString()-
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:RecentlyUpdatedChangeSetThe author of the changeset. Normally a user's full name, or "Anonymous".- Specified by:
getAuthorin interfaceRecentlyUpdatedChangeSet
-
getAuthorUrl
public String getAuthorUrl()
Description copied from interface:RecentlyUpdatedChangeSetThe 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:
getAuthorUrlin interfaceRecentlyUpdatedChangeSet
-
getImageUrl
public String getImageUrl()
Description copied from interface:RecentlyUpdatedChangeSetThe 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:
getImageUrlin interfaceRecentlyUpdatedChangeSet
-
getImageLinkUrl
public String getImageLinkUrl()
Description copied from interface:RecentlyUpdatedChangeSetThe 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:
getImageLinkUrlin interfaceRecentlyUpdatedChangeSet
-
size
public int size()
Description copied from interface:RecentlyUpdatedChangeSetReturns the number of items in this changeset. There will always be at least 1.- Specified by:
sizein interfaceRecentlyUpdatedChangeSet
-
getItem
public RecentlyUpdatedItem getItem(int index)
Description copied from interface:RecentlyUpdatedChangeSetReturns 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:
getItemin 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:
iteratorin interfaceIterable<RecentlyUpdatedItem>
-
-