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
-
Constructor Summary
-
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 specifiedByte
arraySets 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:
create
in interfaceTypedValueBuilder<FileValue>
-
mimeType
Description copied from interface:FileValueBuilder
Saves the MIME type of a file in the value infos.- Specified by:
mimeType
in interfaceFileValueBuilder
- Parameters:
mimeType
- the MIME type as string
-
file
Description copied from interface:FileValueBuilder
Sets the value to the specifiedFile
.- Specified by:
file
in interfaceFileValueBuilder
- See Also:
-
file
Description copied from interface:FileValueBuilder
Sets the value to the specifiedInputStream
.- Specified by:
file
in interfaceFileValueBuilder
- See Also:
-
file
Description copied from interface:FileValueBuilder
Sets the value to the specifiedByte
array- Specified by:
file
in interfaceFileValueBuilder
- See Also:
-
encoding
Description copied from interface:FileValueBuilder
Sets the encoding for the file in the value infos (optional).- Specified by:
encoding
in interfaceFileValueBuilder
- Returns:
-
encoding
Description copied from interface:FileValueBuilder
Sets the encoding for the file in the value infos (optional).- Specified by:
encoding
in interfaceFileValueBuilder
- Returns:
-
setTransient
- Specified by:
setTransient
in interfaceTypedValueBuilder<FileValue>
-