org.camunda.bpm.engine.impl.core.variable.mapping.value
Class ConstantValueProvider

java.lang.Object
  extended by 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

Field Summary
protected  Object value
           
 
Constructor Summary
ConstantValueProvider(Object value)
           
 
Method Summary
 Object getValue(VariableScope scope)
           
 void setValue(Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

protected Object value
Constructor Detail

ConstantValueProvider

public ConstantValueProvider(Object value)
Method Detail

getValue

public Object getValue(VariableScope scope)
Specified by:
getValue in interface ParameterValueProvider
Parameters:
scope - the scope in which the value is to be resolved.
Returns:
the value

setValue

public void setValue(Object value)


Copyright © 2015 camunda services GmbH. All rights reserved.