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

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

public class DynamicSourceExecutableScript
extends DynamicExecutableScript

A script which source code is dynamically determined during the execution. Therefore it has to be executed in the context of an atomic operation.

Author:
Sebastian Menski

Field Summary
 
Fields inherited from class org.camunda.bpm.engine.impl.scripting.DynamicExecutableScript
scriptExpression
 
Fields inherited from class org.camunda.bpm.engine.impl.scripting.ExecutableScript
language
 
Constructor Summary
DynamicSourceExecutableScript(String language, Expression scriptSourceExpression)
           
 
Method Summary
 String getScriptSource(VariableScope variableScope)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.scripting.DynamicExecutableScript
evaluate, evaluateExpression
 
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
 

Constructor Detail

DynamicSourceExecutableScript

public DynamicSourceExecutableScript(String language,
                                     Expression scriptSourceExpression)
Method Detail

getScriptSource

public String getScriptSource(VariableScope variableScope)
Specified by:
getScriptSource in class DynamicExecutableScript


Copyright © 2017 camunda services GmbH. All rights reserved.