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

java.lang.Object
  extended by org.camunda.bpm.engine.impl.scripting.ExecutableScript
      extended by org.camunda.bpm.engine.impl.scripting.CompiledExecutableScript

public class CompiledExecutableScript
extends ExecutableScript

A pre-compiled script.

Author:
Daniel Meyer

Field Summary
protected  CompiledScript compiledScript
          the pre-compiled script.
 
Fields inherited from class org.camunda.bpm.engine.impl.scripting.ExecutableScript
language
 
Constructor Summary
protected CompiledExecutableScript(String language, CompiledScript compiledScript)
           
 
Method Summary
 Object execute(ScriptEngine scriptEngine, VariableScope<?> variableScope, Bindings bindings)
          Evaluates the script using the provided engine and bindings
 
Methods inherited from class org.camunda.bpm.engine.impl.scripting.ExecutableScript
getLanguage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

compiledScript

protected CompiledScript compiledScript
the pre-compiled script.

Constructor Detail

CompiledExecutableScript

protected CompiledExecutableScript(String language,
                                   CompiledScript compiledScript)
Parameters:
language - the script language
compiledScript - the compiled script
Method Detail

execute

public Object execute(ScriptEngine scriptEngine,
                      VariableScope<?> variableScope,
                      Bindings bindings)
Description copied from class: ExecutableScript

Evaluates the script using the provided engine and bindings

Specified by:
execute in class ExecutableScript
Parameters:
scriptEngine - the script engine to use for evaluating the script.
variableScope - the variable scope of the execution
bindings - the bindings to use for evaluating the script.
Returns:
the result of the script evaluation


Copyright © 2014 camunda services GmbH. All Rights Reserved.