com.atlassian.jira.functest.framework.navigation.issue
Class DefaultAttachmentsBlock

java.lang.Object
  extended by com.atlassian.jira.functest.framework.navigation.issue.DefaultAttachmentsBlock
All Implemented Interfaces:
AttachmentsBlock

public class DefaultAttachmentsBlock
extends Object
implements AttachmentsBlock

Since:
v4.2

Nested Class Summary
 
Nested classes/interfaces inherited from interface com.atlassian.jira.functest.framework.navigation.issue.AttachmentsBlock
AttachmentsBlock.Sort
 
Constructor Summary
DefaultAttachmentsBlock(net.sourceforge.jwebunit.WebTester tester, FuncTestLogger logger, FileAttachmentsList fileAttachmentsList, ImageAttachmentsGallery imageAttachmentsGallery, AttachmentManagement attachmentManagement)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAttachmentsBlock

public DefaultAttachmentsBlock(net.sourceforge.jwebunit.WebTester tester,
                               FuncTestLogger logger,
                               FileAttachmentsList fileAttachmentsList,
                               ImageAttachmentsGallery imageAttachmentsGallery,
                               AttachmentManagement attachmentManagement)
Method Detail

sort

public void sort(AttachmentsBlock.Sort.Key key,
                 AttachmentsBlock.Sort.Direction direction)
Description copied from interface: AttachmentsBlock
Sorts the file attachments list on the view issue page for an specific issue.

Specified by:
sort in interface AttachmentsBlock
Parameters:
key - The AttachmentsBlock.Sort.Key to use to sort the list.
direction - The AttachmentsBlock.Sort.Direction to use to sort the list.

manage

public AttachmentManagement manage()
Description copied from interface: AttachmentsBlock
Navigates to the Manage Attachments page.

Specified by:
manage in interface AttachmentsBlock
Returns:
An AttachmentManagement object to interact with the Manage Attachments page.

gallery

public ImageAttachmentsGallery gallery()
Specified by:
gallery in interface AttachmentsBlock

list

public FileAttachmentsList list()
Specified by:
list in interface AttachmentsBlock


Copyright © 2002-2011 Atlassian. All Rights Reserved.