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

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

public class ResourceExecutableScript
extends SourceExecutableScript

A script which is provided by an external resource.

Author:
Sebastian Menski

Field Summary
protected  String scriptResource
           
 
Fields inherited from class org.camunda.bpm.engine.impl.scripting.SourceExecutableScript
scriptSource, shouldBeCompiled
 
Fields inherited from class org.camunda.bpm.engine.impl.scripting.CompiledExecutableScript
compiledScript
 
Fields inherited from class org.camunda.bpm.engine.impl.scripting.ExecutableScript
language
 
Constructor Summary
ResourceExecutableScript(String language, String scriptResource)
           
 
Method Summary
 Object evaluate(ScriptEngine engine, VariableScope variableScope, Bindings bindings)
           
protected  void loadScriptSource()
           
 
Methods inherited from class org.camunda.bpm.engine.impl.scripting.SourceExecutableScript
compile, compileScript, evaluateScript, getScriptSource, isShouldBeCompiled, setScriptSource
 
Methods inherited from class org.camunda.bpm.engine.impl.scripting.CompiledExecutableScript
getCompiledScript, setCompiledScript
 
Methods inherited from class org.camunda.bpm.engine.impl.scripting.ExecutableScript
execute, getLanguage
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

scriptResource

protected String scriptResource
Constructor Detail

ResourceExecutableScript

public ResourceExecutableScript(String language,
                                String scriptResource)
Method Detail

evaluate

public Object evaluate(ScriptEngine engine,
                       VariableScope variableScope,
                       Bindings bindings)
Overrides:
evaluate in class SourceExecutableScript

loadScriptSource

protected void loadScriptSource()


Copyright © 2017 camunda services GmbH. All rights reserved.