|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.it.dashboard.WebDashboard
public class WebDashboard
Confluence dashboard information retrieved from the web interface via a WebTester
.
Field Summary |
---|
Fields inherited from interface com.atlassian.confluence.it.dashboard.Dashboard |
---|
DEFAULT_WELCOME_MESSAGE |
Method Summary | |
---|---|
void |
assertTabNotVisible(java.lang.String tab)
|
void |
assertTabVisible(java.lang.String tab)
|
int |
countChangeSets()
|
int |
countUpdateItems()
|
static WebDashboard |
getDashboard()
Defaults to the "All" tab for the recently updated section |
static WebDashboard |
getDashboard(java.util.Map<java.lang.String,java.lang.Object> params)
|
static WebDashboard |
getDashboard(java.util.Map<java.lang.String,java.lang.Object> params,
net.sourceforge.jwebunit.junit.WebTester tester)
|
static WebDashboard |
getDashboard(net.sourceforge.jwebunit.junit.WebTester tester)
|
int |
getItemsWithMatchingTitle(java.lang.String title)
|
RecentlyUpdatedChangeSet |
getRecentUpdate(int index)
Returns the recently updated change-set at the specified index on the dashboard, or null if such an item does not exist. |
java.util.List<RecentlyUpdatedChangeSet> |
getRecentUpdates()
Returns the recently updated content from the dashboard as RecentlyUpdatedChangeSet objects
in the order they appear on the dashboard. |
java.util.Date |
getRequestTime()
Returns the request timestamp inserted by the server in a meta tag in the HTML header. |
java.lang.String |
getSelectedTabName()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static WebDashboard getDashboard(java.util.Map<java.lang.String,java.lang.Object> params)
public static WebDashboard getDashboard(java.util.Map<java.lang.String,java.lang.Object> params, net.sourceforge.jwebunit.junit.WebTester tester)
public static WebDashboard getDashboard()
public static WebDashboard getDashboard(net.sourceforge.jwebunit.junit.WebTester tester)
public java.util.List<RecentlyUpdatedChangeSet> getRecentUpdates()
Dashboard
RecentlyUpdatedChangeSet
objects
in the order they appear on the dashboard.
getRecentUpdates
in interface Dashboard
RecentlyUpdatedChangeSet
objects.public RecentlyUpdatedChangeSet getRecentUpdate(int index)
Dashboard
getRecentUpdate
in interface Dashboard
index
- the zero-based index of the recently updated change-set on dashboard to return.
public java.util.Date getRequestTime()
Dashboard
getRequestTime
in interface Dashboard
public int countUpdateItems()
countUpdateItems
in interface Dashboard
public int countChangeSets()
countChangeSets
in interface Dashboard
public int getItemsWithMatchingTitle(java.lang.String title)
title
- Title to look for
public void assertTabVisible(java.lang.String tab)
public void assertTabNotVisible(java.lang.String tab)
public java.lang.String getSelectedTabName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |