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

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.DynamicResourceExecutableScript

public class DynamicResourceExecutableScript
extends DynamicExecutableScript

A script which resource path 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
DynamicResourceExecutableScript(String language, Expression scriptResourceExpression)
           
 
Method Summary
protected  DeploymentEntity getDeployment()
           
 String getScriptSource(VariableScope variableScope)
           
 
Methods inherited from class org.camunda.bpm.engine.impl.scripting.DynamicExecutableScript
evaluateExpression, execute
 
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
 

Constructor Detail

DynamicResourceExecutableScript

public DynamicResourceExecutableScript(String language,
                                       Expression scriptResourceExpression)
Method Detail

getScriptSource

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

getDeployment

protected DeploymentEntity getDeployment()


Copyright © 2015 camunda services GmbH. All rights reserved.