Class ResolvedAttachmentItem.Builder
java.lang.Object
de.xima.fc.workflow.processor.model.ResolvedAttachmentItem.Builder
- Enclosing class:
- ResolvedAttachmentItem
Builder to build
ResolvedAttachmentItem
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
withAttachment
(IResolvedAttachment attachment) withAttachments
(Iterable<IResolvedAttachment> attachments)
-
Method Details
-
build
- Returns:
- A new
IResolvedAttachmentItem
instance with the current data.
-
getAttachmentItem
- Returns:
- The attachment item for which the result is being built.
-
withAttachment
- Parameters:
attachment
- Resolved attachment to add- Returns:
- This builder for chaining method calls.
-
withAttachments
- Parameters:
attachments
- Resolved attachments to add- Returns:
- This builder for chaining method calls.
-
withError
- Parameters:
error
- Type of the error.- Returns:
- This builder for chaining method calls.
-