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