Class ConstantValueProvider
- java.lang.Object
-
- org.camunda.bpm.engine.impl.core.variable.mapping.value.ConstantValueProvider
-
- All Implemented Interfaces:
ParameterValueProvider
public class ConstantValueProvider extends java.lang.Object implements ParameterValueProvider
A constant parameter value.- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Object
value
-
Constructor Summary
Constructors Constructor Description ConstantValueProvider(java.lang.Object value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getValue(VariableScope scope)
void
setValue(java.lang.Object value)
-
-
-
Method Detail
-
getValue
public java.lang.Object getValue(VariableScope scope)
- Specified by:
getValue
in interfaceParameterValueProvider
- Parameters:
scope
- the scope in which the value is to be resolved.- Returns:
- the value
-
setValue
public void setValue(java.lang.Object value)
-
-