org.camunda.bpm.engine.impl.core.variable.type
Class FileValueTypeImpl
java.lang.Object
org.camunda.bpm.engine.impl.core.variable.type.AbstractValueTypeImpl
org.camunda.bpm.engine.impl.core.variable.type.FileValueTypeImpl
- All Implemented Interfaces:
- Serializable, FileValueType, ValueType
public class FileValueTypeImpl
- extends AbstractValueTypeImpl
- implements FileValueType
Valuetype to save files from byte arrays, inputstreams or just files as
process variables and retrieve them via an InputStream.
- Since:
- 7.4
- Author:
- Ronny Bräunlich
- See Also:
- Serialized Form
| Fields inherited from interface org.camunda.bpm.engine.variable.type.ValueType |
BOOLEAN, BYTES, DATE, DOUBLE, FILE, INTEGER, LONG, NULL, NUMBER, OBJECT, SHORT, STRING |
VALUE_INFO_FILE_NAME
public static final String VALUE_INFO_FILE_NAME
- See Also:
- Constant Field Values
VALUE_INFO_FILE_MIME_TYPE
public static final String VALUE_INFO_FILE_MIME_TYPE
- See Also:
- Constant Field Values
VALUE_INFO_FILE_ENCODING
public static final String VALUE_INFO_FILE_ENCODING
- See Also:
- Constant Field Values
FileValueTypeImpl
public FileValueTypeImpl()
createValue
public TypedValue createValue(Object value,
Map<String,Object> valueInfo)
- Description copied from interface:
ValueType
- Creates a new TypedValue using this type.
- Specified by:
createValue in interface ValueType
- Parameters:
value - the value
- Returns:
- the typed value for the value
getValueInfo
public Map<String,Object> getValueInfo(TypedValue typedValue)
- Description copied from interface:
ValueType
- Get the value info for a
TypedValue.
- Specified by:
getValueInfo in interface ValueType
- Returns:
isPrimitiveValueType
public boolean isPrimitiveValueType()
- Description copied from interface:
ValueType
- Indicates whether this type is primitive valued. Primitive valued types can be handled
natively by the process engine.
- Specified by:
isPrimitiveValueType in interface ValueType
- Returns:
- true if this is a primitive valued type. False otherwise
Copyright © 2015 camunda services GmbH. All rights reserved.