Class FileValueTypeImpl

java.lang.Object
org.camunda.bpm.engine.variable.impl.type.AbstractValueTypeImpl
org.camunda.bpm.engine.variable.impl.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:
  • Constructor Details

    • FileValueTypeImpl

      public FileValueTypeImpl()
  • Method Details

    • 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 (meta data) for a TypedValue. The keys of the returned map for a TypedValue are available as constants in the value's ValueType interface.
      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