Class AttachmentDescriptor.Builder
- java.lang.Object
-
- de.xima.fc.workflow.processor.value.common.AttachmentDescriptor.Builder
-
- Enclosing class:
- AttachmentDescriptor
public static final class AttachmentDescriptor.Builder extends Object
Builder for creating a value that conforms to theAttachmentDescriptorvalue descriptor.- Since:
- 8.2.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>build()Builds the value conforming to theAttachmentDescriptorvalue descriptor.AttachmentDescriptor.BuilderfileItem(Map<String,Object> file)Adds the value for th file property to the value.
-
-
-
Method Detail
-
build
public Map<String,Object> build()
Builds the value conforming to theAttachmentDescriptorvalue descriptor.- Returns:
- The value.
-
fileItem
public AttachmentDescriptor.Builder fileItem(Map<String,Object> file)
Adds the value for th file property to the value.- Parameters:
file- File of the attachment, seeFileItemDescriptor.valueFileItem(Path, MimeType).- Returns:
- This builder for chaining method calls.
-
-