com.atlassian.confluence.pageobjects.page.content
Class CommentsSection
java.lang.Object
com.atlassian.confluence.pageobjects.page.content.CommentsSection
public class CommentsSection
- extends java.lang.Object
Represents the Comments Area at the bottom of a Confluence Page or Blog Post view.
- See Also:
ViewPage
Field Summary |
protected com.atlassian.pageobjects.PageBinder |
pageBinder
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
pageBinder
@Inject
protected com.atlassian.pageobjects.PageBinder pageBinder
CommentsSection
public CommentsSection()
isVisible
public com.atlassian.pageobjects.elements.query.TimedCondition isVisible()
size
@Deprecated
public int size()
- Deprecated. since 5.5, use
timedSize()
, which returns an TimedQuery
instead.
- Returns:
- an int, that represents how many comments currently exists. However that could be a wrong value if all
comments are not currently loaded at the moment of the query.
- Since:
- 5.5
timedSize
public com.atlassian.pageobjects.elements.query.TimedQuery<java.lang.Integer> timedSize()
- Returns:
- a
TimedQuery
, that represents how many comments currently exists.
get
public CommentsSection.Comment get(int index)
add
public CommentsSection.NewComment add()
getTextContent
public java.lang.String getTextContent()
Copyright © 2003-2014 Atlassian. All Rights Reserved.