com.atlassian.jira.rest.v2.issue
Class AttachmentBeanBuilder

java.lang.Object
  extended by com.atlassian.jira.rest.v2.issue.AttachmentBeanBuilder

public class AttachmentBeanBuilder
extends Object

Builder for AttachmentBean instances.

Since:
v4.2

Constructor Summary
AttachmentBeanBuilder(JiraBaseUrls jiraBaseUrls, ThumbnailManager thumbnailManager, Attachment attachment)
          Creates a new AttachmentBeanBuilder.
 
Method Summary
 AttachmentBean build()
          Builds a new AttachmentBean.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentBeanBuilder

public AttachmentBeanBuilder(JiraBaseUrls jiraBaseUrls,
                             ThumbnailManager thumbnailManager,
                             Attachment attachment)
Creates a new AttachmentBeanBuilder.

Parameters:
jiraBaseUrls - a JiraBaseUrls
thumbnailManager - a ThumbnailManager
attachment - an Attachment
Method Detail

build

public AttachmentBean build()
                     throws IllegalStateException
Builds a new AttachmentBean.

Returns:
a new AttachmentBean instance
Throws:
IllegalStateException - if any of this builder's properties is not set


Copyright © 2002-2013 Atlassian. All Rights Reserved.