public class DefaultAttachmentsBlock extends Object implements AttachmentsBlock
AttachmentsBlock.Sort
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() |
FileAttachmentsList |
list() |
AttachmentManagement |
manage()
Navigates to the Manage Attachments page.
|
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)
AttachmentsBlock
sort
in interface AttachmentsBlock
key
- The AttachmentsBlock.Sort.Key
to use to
sort the list.direction
- The AttachmentsBlock.Sort.Direction
to use to sort the list.public AttachmentManagement manage()
AttachmentsBlock
manage
in interface AttachmentsBlock
AttachmentManagement
object to interact
with the Manage Attachments page.public ImageAttachmentsGallery gallery()
gallery
in interface AttachmentsBlock
public FileAttachmentsList list()
list
in interface AttachmentsBlock
Copyright © 2002-2015 Atlassian. All Rights Reserved.