Class DeferredFileValueImpl

java.lang.Object
org.camunda.bpm.engine.variable.impl.value.FileValueImpl
org.camunda.bpm.client.variable.impl.value.DeferredFileValueImpl
All Implemented Interfaces:
Serializable, DeferredFileValue, FileValue, TypedValue

public class DeferredFileValueImpl extends FileValueImpl implements DeferredFileValue
Author:
Tassilo Weidner
See Also:
  • Field Details

    • LOG

      protected static final ExternalTaskClientLogger LOG
    • isLoaded

      protected boolean isLoaded
    • variableName

      protected String variableName
    • processInstanceId

      protected String processInstanceId
    • engineClient

      protected EngineClient engineClient
  • Constructor Details

    • DeferredFileValueImpl

      public DeferredFileValueImpl(String filename, EngineClient engineClient)
  • Method Details

    • load

      protected void load()
    • isLoaded

      public boolean isLoaded()
      Description copied from interface: DeferredFileValue
      Indicates whether the file value has been loaded
      Specified by:
      isLoaded in interface DeferredFileValue
      Returns:
      • true if file value has been loaded
      • false if file value has not been loaded
    • getValue

      public InputStream getValue()
      Description copied from interface: TypedValue
      The actual value. May be null in case the value is null.
      Specified by:
      getValue in interface FileValue
      Specified by:
      getValue in interface TypedValue
      Overrides:
      getValue in class FileValueImpl
      Returns:
      the value
    • setProcessInstanceId

      public void setProcessInstanceId(String processInstanceId)
    • setVariableName

      public void setVariableName(String variableName)
    • toString

      public String toString()
      Overrides:
      toString in class FileValueImpl