|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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(String tab)
|
void |
assertTabVisible(String tab)
|
int |
countChangeSets()
|
int |
countUpdateItems()
|
static WebDashboard |
getDashboard()
Defaults to the "All" tab for the recently updated section |
static WebDashboard |
getDashboard(Map<String,Object> params)
|
int |
getItemsWithMatchingTitle(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. |
List<RecentlyUpdatedChangeSet> |
getRecentUpdates()
Returns the recently updated content from the dashboard as RecentlyUpdatedChangeSet objects
in the order they appear on the dashboard. |
Date |
getRequestTime()
Returns the request timestamp inserted by the server in a meta tag in the HTML header. |
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(Map<String,Object> params)
public static WebDashboard getDashboard()
public List<RecentlyUpdatedChangeSet> getRecentUpdates()
DashboardRecentlyUpdatedChangeSet objects
in the order they appear on the dashboard.
getRecentUpdates in interface DashboardRecentlyUpdatedChangeSet objects.public RecentlyUpdatedChangeSet getRecentUpdate(int index)
Dashboard
getRecentUpdate in interface Dashboardindex - the zero-based index of the recently updated change-set on dashboard to return.
public Date getRequestTime()
Dashboard
getRequestTime in interface Dashboardpublic int countUpdateItems()
countUpdateItems in interface Dashboardpublic int countChangeSets()
countChangeSets in interface Dashboardpublic int getItemsWithMatchingTitle(String title)
title - Title to look for
public void assertTabVisible(String tab)
public void assertTabNotVisible(String tab)
public String getSelectedTabName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||