com.atlassian.jira.issue.attachment
Class CreateAttachmentParamsBean.Builder

java.lang.Object
  extended by com.atlassian.jira.issue.attachment.CreateAttachmentParamsBean.Builder
Enclosing class:
CreateAttachmentParamsBean

public static class CreateAttachmentParamsBean.Builder
extends Object


Constructor Summary
CreateAttachmentParamsBean.Builder()
           
CreateAttachmentParamsBean.Builder(File file, String filename, String contentType, ApplicationUser author, Issue issue)
           
 
Method Summary
 CreateAttachmentParamsBean.Builder attachmentProperties(Map<String,Object> attachmentProperties)
           
 CreateAttachmentParamsBean.Builder author(ApplicationUser author)
           
 CreateAttachmentParamsBean build()
           
 CreateAttachmentParamsBean.Builder contentType(String contentType)
           
 CreateAttachmentParamsBean.Builder copySourceFile(Boolean copySourceFile)
           
 CreateAttachmentParamsBean.Builder createdTime(Date createdTime)
           
 CreateAttachmentParamsBean.Builder file(File file)
           
 CreateAttachmentParamsBean.Builder filename(String filename)
           
 CreateAttachmentParamsBean.Builder issue(Issue issue)
           
 CreateAttachmentParamsBean.Builder thumbnailable(Boolean thumbnailable)
           
 CreateAttachmentParamsBean.Builder zip(Boolean zip)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CreateAttachmentParamsBean.Builder

public CreateAttachmentParamsBean.Builder()

CreateAttachmentParamsBean.Builder

public CreateAttachmentParamsBean.Builder(File file,
                                          String filename,
                                          String contentType,
                                          ApplicationUser author,
                                          Issue issue)
Method Detail

file

public CreateAttachmentParamsBean.Builder file(File file)

filename

public CreateAttachmentParamsBean.Builder filename(String filename)

contentType

public CreateAttachmentParamsBean.Builder contentType(String contentType)

author

public CreateAttachmentParamsBean.Builder author(ApplicationUser author)

issue

public CreateAttachmentParamsBean.Builder issue(Issue issue)

zip

public CreateAttachmentParamsBean.Builder zip(Boolean zip)

thumbnailable

public CreateAttachmentParamsBean.Builder thumbnailable(Boolean thumbnailable)

attachmentProperties

public CreateAttachmentParamsBean.Builder attachmentProperties(Map<String,Object> attachmentProperties)

createdTime

public CreateAttachmentParamsBean.Builder createdTime(Date createdTime)

copySourceFile

public CreateAttachmentParamsBean.Builder copySourceFile(Boolean copySourceFile)

build

public CreateAttachmentParamsBean build()


Copyright © 2002-2013 Atlassian. All Rights Reserved.