Class DeferredFileValueImpl
- java.lang.Object
-
- org.camunda.bpm.engine.variable.impl.value.FileValueImpl
-
- org.camunda.bpm.client.variable.impl.value.DeferredFileValueImpl
-
- All Implemented Interfaces:
java.io.Serializable,DeferredFileValue,FileValue,TypedValue
public class DeferredFileValueImpl extends FileValueImpl implements DeferredFileValue
- Author:
- Tassilo Weidner
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected EngineClientengineClientprotected booleanisLoadedprotected static ExternalTaskClientLoggerLOGprotected java.lang.StringprocessInstanceIdprotected java.lang.StringvariableName-
Fields inherited from class org.camunda.bpm.engine.variable.impl.value.FileValueImpl
encoding, filename, isTransient, mimeType, type, value
-
-
Constructor Summary
Constructors Constructor Description DeferredFileValueImpl(java.lang.String filename, EngineClient engineClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStreamgetValue()The actual value.booleanisLoaded()Indicates whether the file value has been loadedprotected voidload()voidsetProcessInstanceId(java.lang.String processInstanceId)voidsetVariableName(java.lang.String variableName)java.lang.StringtoString()-
Methods inherited from class org.camunda.bpm.engine.variable.impl.value.FileValueImpl
getByteArray, getEncoding, getEncodingAsCharset, getFilename, getMimeType, getType, isTransient, setEncoding, setEncoding, setMimeType, setTransient, setValue
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.variable.value.FileValue
getEncoding, getEncodingAsCharset, getFilename, getMimeType
-
Methods inherited from interface org.camunda.bpm.engine.variable.value.TypedValue
getType, isTransient
-
-
-
-
Field Detail
-
LOG
protected static final ExternalTaskClientLogger LOG
-
isLoaded
protected boolean isLoaded
-
variableName
protected java.lang.String variableName
-
processInstanceId
protected java.lang.String processInstanceId
-
engineClient
protected EngineClient engineClient
-
-
Constructor Detail
-
DeferredFileValueImpl
public DeferredFileValueImpl(java.lang.String filename, EngineClient engineClient)
-
-
Method Detail
-
load
protected void load()
-
isLoaded
public boolean isLoaded()
Description copied from interface:DeferredFileValueIndicates whether the file value has been loaded- Specified by:
isLoadedin interfaceDeferredFileValue- Returns:
-
trueif file value has been loaded -
falseif file value has not been loaded
-
-
getValue
public java.io.InputStream getValue()
Description copied from interface:TypedValueThe actual value. May be null in case the value is null.- Specified by:
getValuein interfaceFileValue- Specified by:
getValuein interfaceTypedValue- Overrides:
getValuein classFileValueImpl- Returns:
- the value
-
setProcessInstanceId
public void setProcessInstanceId(java.lang.String processInstanceId)
-
setVariableName
public void setVariableName(java.lang.String variableName)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classFileValueImpl
-
-