Package com.atlassian.confluence.it
Class PaginationBean
- java.lang.Object
-
- com.atlassian.confluence.it.PaginationBean
-
public class PaginationBean extends Object
Represents pagination links somewhere on a page.- Since:
- 5.9.1
-
-
Field Summary
Fields Modifier and Type Field Description static String
NEXT_LINK_XPATH_SELECTOR_SUFFIX
static String
PREVIOUS_LINK_XPATH_SELECTOR_SUFFIX
-
Constructor Summary
Constructors Constructor Description PaginationBean(net.sourceforge.jwebunit.junit.WebTester webTester, String paginationContainerXPathSelector)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clickNext()
void
clickPage(int n)
void
clickPrevious()
String
getNextLinkUrl()
String
getPreviousLinkUrl()
boolean
hasNext()
boolean
hasPage(int n)
boolean
hasPrevious()
-
-
-
Field Detail
-
NEXT_LINK_XPATH_SELECTOR_SUFFIX
public static final String NEXT_LINK_XPATH_SELECTOR_SUFFIX
- See Also:
- Constant Field Values
-
PREVIOUS_LINK_XPATH_SELECTOR_SUFFIX
public static final String PREVIOUS_LINK_XPATH_SELECTOR_SUFFIX
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PaginationBean
public PaginationBean(net.sourceforge.jwebunit.junit.WebTester webTester, String paginationContainerXPathSelector)
-
-
Method Detail
-
hasNext
public boolean hasNext()
-
clickNext
public void clickNext()
-
getNextLinkUrl
public String getNextLinkUrl()
-
hasPrevious
public boolean hasPrevious()
-
clickPrevious
public void clickPrevious()
-
getPreviousLinkUrl
public String getPreviousLinkUrl()
-
hasPage
public boolean hasPage(int n)
-
clickPage
public void clickPage(int n)
-
-