com.atlassian.confluence.pageobjects.component.attachment
Class AbstractAttachmentContainer
java.lang.Object
com.atlassian.confluence.pageobjects.component.ConfluenceAbstractPageComponent
com.atlassian.confluence.pageobjects.component.attachment.AbstractAttachmentContainer
- All Implemented Interfaces:
- PageComponent
- Direct Known Subclasses:
- AttachmentContainer, AttachmentVersionContainer
public abstract class AbstractAttachmentContainer
- extends ConfluenceAbstractPageComponent
- Since:
- 4.3
Field Summary |
protected com.google.common.base.Supplier<com.atlassian.pageobjects.elements.PageElement> |
fileNameLink
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fileNameLink
protected com.google.common.base.Supplier<com.atlassian.pageobjects.elements.PageElement> fileNameLink
AbstractAttachmentContainer
public AbstractAttachmentContainer()
getAttachmentRow
protected abstract com.atlassian.pageobjects.elements.PageElement getAttachmentRow()
getRemoveLink
protected abstract com.atlassian.pageobjects.elements.PageElement getRemoveLink()
isVisible
public boolean isVisible()
isPresent
public boolean isPresent()
getFileName
public java.lang.String getFileName()
clickRemove
public com.atlassian.fugue.Maybe<AttachmentRemovalConfirmationDialog> clickRemove()
- Clicks the remove link (if present in the DOM) and binds an instance of
AttachmentRemovalConfirmationDialog
to the resulting AJS dialog DOM.
- Returns:
canRemove
public boolean canRemove()
Copyright © 2003-2014 Atlassian. All Rights Reserved.