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
IOExceptionServiceExceptionpublic Content addAttachment() throws IOException, ServiceException
IOExceptionServiceExceptionpublic PageResponse<Content> addAttachments(int numFiles, javax.ws.rs.core.MediaType contentType) throws IOException, ServiceException
IOExceptionServiceExceptionpublic List<AttachmentUpload> makeUploads(int numFiles, javax.ws.rs.core.MediaType contentType) throws IOException
IOExceptionCopyright © 2003–2019 Atlassian. All rights reserved.