com.atlassian.confluence.it.dashboard
Class WebRecentlyUpdatedChangeSet

java.lang.Object
  extended by com.atlassian.confluence.it.dashboard.WebRecentlyUpdatedChangeSet
All Implemented Interfaces:
RecentlyUpdatedChangeSet

public class WebRecentlyUpdatedChangeSet
extends java.lang.Object
implements RecentlyUpdatedChangeSet


Constructor Summary
WebRecentlyUpdatedChangeSet(net.sourceforge.jwebunit.junit.WebTester webTester, int index, java.util.List items)
           
 
Method Summary
 java.lang.String getAuthor()
          The author of the changeset.
 java.lang.String getAuthorUrl()
          The URL of the link to the author, which may be relative.
 java.lang.String getDate()
          Returns the formatted date as seen on the dashboard.
 java.lang.String getImageLinkUrl()
          The URL of the link surrounding the image used for the author.
 java.lang.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.
 int size()
          Returns the number of items in this changeset.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebRecentlyUpdatedChangeSet

public WebRecentlyUpdatedChangeSet(net.sourceforge.jwebunit.junit.WebTester webTester,
                                   int index,
                                   java.util.List items)
Method Detail

getAuthor

public java.lang.String getAuthor()
Description copied from interface: RecentlyUpdatedChangeSet
The author of the changeset. Normally a user's full name, or "Anonymous".

Specified by:
getAuthor in interface RecentlyUpdatedChangeSet

getAuthorUrl

public java.lang.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 interface RecentlyUpdatedChangeSet

getImageUrl

public java.lang.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 interface RecentlyUpdatedChangeSet

getImageLinkUrl

public java.lang.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 interface RecentlyUpdatedChangeSet

getDate

public java.lang.String getDate()
Description copied from interface: RecentlyUpdatedChangeSet
Returns the formatted date as seen on the dashboard.

Specified by:
getDate in interface RecentlyUpdatedChangeSet

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 interface RecentlyUpdatedChangeSet

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 interface RecentlyUpdatedChangeSet
Parameters:
index - zero-based index of the item to return
Returns:
the item with the given index, or null if it does not exist.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2003-2008 Atlassian Pty Ltd. All Rights Reserved.