public class TestAttachmentFactory extends Object
Constructor and Description |
---|
TestAttachmentFactory(AttachmentService service) |
Modifier and Type | Method and Description |
---|---|
Content |
addAttachment() |
List<Content> |
addAttachments(int numFiles) |
PageResponse<Content> |
addAttachments(int numFiles,
javax.ws.rs.core.MediaType contentType) |
List<AttachmentUpload> |
makeUploads(int numFiles,
javax.ws.rs.core.MediaType contentType) |
public TestAttachmentFactory(AttachmentService service)
public List<Content> addAttachments(int numFiles) throws IOException, ServiceException
IOException
ServiceException
public Content addAttachment() throws IOException, ServiceException
IOException
ServiceException
public PageResponse<Content> addAttachments(int numFiles, javax.ws.rs.core.MediaType contentType) throws IOException, ServiceException
IOException
ServiceException
public List<AttachmentUpload> makeUploads(int numFiles, javax.ws.rs.core.MediaType contentType) throws IOException
IOException
Copyright © 2003–2015 Atlassian. All rights reserved.