Class FileValueBuilderImpl
java.lang.Object
org.camunda.bpm.engine.variable.impl.value.builder.FileValueBuilderImpl
- All Implemented Interfaces:
FileValueBuilder,TypedValueBuilder<FileValue>
- Since:
- 7.4
- Author:
- Ronny Bräunlich
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate()Sets the encoding for the file in the value infos (optional).Sets the encoding for the file in the value infos (optional).file(byte[] bytes) Sets the value to the specifiedBytearraySets the value to the specifiedFile.file(InputStream stream) Sets the value to the specifiedInputStream.Saves the MIME type of a file in the value infos.setTransient(boolean isTransient)
-
Field Details
-
fileValue
-
-
Constructor Details
-
FileValueBuilderImpl
-
-
Method Details
-
create
- Specified by:
createin interfaceTypedValueBuilder<FileValue>
-
mimeType
Description copied from interface:FileValueBuilderSaves the MIME type of a file in the value infos.- Specified by:
mimeTypein interfaceFileValueBuilder- Parameters:
mimeType- the MIME type as string
-
file
Description copied from interface:FileValueBuilderSets the value to the specifiedFile.- Specified by:
filein interfaceFileValueBuilder- See Also:
-
file
Description copied from interface:FileValueBuilderSets the value to the specifiedInputStream.- Specified by:
filein interfaceFileValueBuilder- See Also:
-
file
Description copied from interface:FileValueBuilderSets the value to the specifiedBytearray- Specified by:
filein interfaceFileValueBuilder- See Also:
-
encoding
Description copied from interface:FileValueBuilderSets the encoding for the file in the value infos (optional).- Specified by:
encodingin interfaceFileValueBuilder- Returns:
-
encoding
Description copied from interface:FileValueBuilderSets the encoding for the file in the value infos (optional).- Specified by:
encodingin interfaceFileValueBuilder- Returns:
-
setTransient
- Specified by:
setTransientin interfaceTypedValueBuilder<FileValue>
-