public class DefaultAttachmentsBlock extends Object implements AttachmentsBlock
AttachmentsBlock.AttachmentBlockSetting, AttachmentsBlock.Sort, AttachmentsBlock.ViewMode| Constructor and Description |
|---|
DefaultAttachmentsBlock(net.sourceforge.jwebunit.WebTester tester,
com.atlassian.jira.testkit.client.log.FuncTestLogger logger,
FileAttachmentsList fileAttachmentsList,
ImageAttachmentsGallery imageAttachmentsGallery,
AttachmentManagement attachmentManagement) |
| Modifier and Type | Method and Description |
|---|---|
ImageAttachmentsGallery |
gallery() |
AttachmentsBlock.ViewMode |
getViewMode() |
FileAttachmentsList |
list() |
AttachmentManagement |
manage()
Navigates to the Manage Attachments page.
|
void |
setViewMode(AttachmentsBlock.ViewMode viewMode) |
void |
sort(AttachmentsBlock.Sort.Key key,
AttachmentsBlock.Sort.Direction direction)
Sorts the file attachments list on the view issue page for an specific issue.
|
public DefaultAttachmentsBlock(net.sourceforge.jwebunit.WebTester tester,
com.atlassian.jira.testkit.client.log.FuncTestLogger logger,
FileAttachmentsList fileAttachmentsList,
ImageAttachmentsGallery imageAttachmentsGallery,
AttachmentManagement attachmentManagement)
public void sort(AttachmentsBlock.Sort.Key key, AttachmentsBlock.Sort.Direction direction)
AttachmentsBlocksort in interface AttachmentsBlockkey - The AttachmentsBlock.Sort.Key to use to
sort the list.direction - The AttachmentsBlock.Sort.Direction
to use to sort the list.public AttachmentManagement manage()
AttachmentsBlockmanage in interface AttachmentsBlockAttachmentManagement object to interact
with the Manage Attachments page.public AttachmentsBlock.ViewMode getViewMode()
getViewMode in interface AttachmentsBlockpublic void setViewMode(AttachmentsBlock.ViewMode viewMode)
setViewMode in interface AttachmentsBlockpublic ImageAttachmentsGallery gallery()
gallery in interface AttachmentsBlockpublic FileAttachmentsList list()
list in interface AttachmentsBlockCopyright © 2002-2019 Atlassian. All Rights Reserved.