public class ParallelMultiInstanceLoopVariableType extends Object implements VariableType
| Modifier and Type | Field and Description |
|---|---|
protected static String |
NUMBER_OF_INSTANCES |
protected ProcessEngineConfigurationImpl |
processEngineConfiguration |
static String |
TYPE_NAME |
| Constructor and Description |
|---|
ParallelMultiInstanceLoopVariableType(ProcessEngineConfigurationImpl processEngineConfiguration) |
| Modifier and Type | Method and Description |
|---|---|
String |
getTypeName()
name of variable type (limited to 100 characters length)
|
Object |
getValue(ValueFields valueFields) |
protected Object |
getValue(ValueFields valueFields,
CommandContext commandContext) |
boolean |
isAbleToStore(Object value) |
boolean |
isCachable()
Indicates if this variable type supports caching.
|
boolean |
isReadOnly() |
void |
setValue(Object value,
ValueFields valueFields)
Stores the specified value in the supplied
ValueFields. |
public static final String TYPE_NAME
protected static final String NUMBER_OF_INSTANCES
protected final ProcessEngineConfigurationImpl processEngineConfiguration
public ParallelMultiInstanceLoopVariableType(ProcessEngineConfigurationImpl processEngineConfiguration)
public String getTypeName()
VariableTypegetTypeName in interface VariableTypepublic boolean isCachable()
VariableTypeIndicates if this variable type supports caching.
If caching is supported, the result of VariableType.getValue(ValueFields) is saved for the duration of the session and used for subsequent reads of the variable's value.
If caching is not supported, all reads of a variable's value require a fresh call to VariableType.getValue(ValueFields).
isCachable in interface VariableTypepublic boolean isAbleToStore(Object value)
isAbleToStore in interface VariableTypepublic void setValue(Object value, ValueFields valueFields)
VariableTypeValueFields.setValue in interface VariableTypepublic Object getValue(ValueFields valueFields)
getValue in interface VariableTypeValueFields.protected Object getValue(ValueFields valueFields, CommandContext commandContext)
public boolean isReadOnly()
isReadOnly in interface VariableTypeCopyright © 2023 Flowable. All rights reserved.