Class ResolvedAttachmentItem.Builder
- java.lang.Object
 - 
- de.xima.fc.workflow.processor.model.ResolvedAttachmentItem.Builder
 
 
- 
- Enclosing class:
 - ResolvedAttachmentItem
 
public static final class ResolvedAttachmentItem.Builder extends Object
Builder to buildResolvedAttachmentItem. 
- 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IResolvedAttachmentItembuild()AttachmentItemgetAttachmentItem()ResolvedAttachmentItem.BuilderwithAttachment(IResolvedAttachment attachment)ResolvedAttachmentItem.BuilderwithAttachments(Iterable<IResolvedAttachment> attachments)ResolvedAttachmentItem.BuilderwithError(AAttachmentListResolutionError error) 
 - 
 
- 
- 
Method Detail
- 
build
public IResolvedAttachmentItem build()
- Returns:
 - A new 
IResolvedAttachmentIteminstance with the current data. 
 
- 
getAttachmentItem
public AttachmentItem getAttachmentItem()
- Returns:
 - The attachment item for which the result is being built.
 
 
- 
withAttachment
public ResolvedAttachmentItem.Builder withAttachment(IResolvedAttachment attachment)
- Parameters:
 attachment- Resolved attachment to add- Returns:
 - This builder for chaining method calls.
 
 
- 
withAttachments
public ResolvedAttachmentItem.Builder withAttachments(Iterable<IResolvedAttachment> attachments)
- Parameters:
 attachments- Resolved attachments to add- Returns:
 - This builder for chaining method calls.
 
 
- 
withError
public ResolvedAttachmentItem.Builder withError(AAttachmentListResolutionError error)
- Parameters:
 error- Type of the error.- Returns:
 - This builder for chaining method calls.
 
 
 - 
 
 -