org.camunda.bpm.engine.impl.scripting
Class ScriptValueProvider

java.lang.Object
  extended by org.camunda.bpm.engine.impl.scripting.ScriptValueProvider
All Implemented Interfaces:
ParameterValueProvider

public class ScriptValueProvider
extends Object
implements ParameterValueProvider

Makes it possible to use scripts in IoParameter mappings.

Author:
Daniel Meyer

Field Summary
protected  ExecutableScript script
           
 
Constructor Summary
ScriptValueProvider(ExecutableScript script)
           
 
Method Summary
 ExecutableScript getScript()
           
 Object getValue(VariableScope variableScope)
           
 void setScript(ExecutableScript script)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

script

protected ExecutableScript script
Constructor Detail

ScriptValueProvider

public ScriptValueProvider(ExecutableScript script)
Method Detail

getValue

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

getScript

public ExecutableScript getScript()

setScript

public void setScript(ExecutableScript script)


Copyright © 2016 camunda services GmbH. All rights reserved.