コード例 #1
0
//JAVA TO C# CONVERTER WARNING: 'final' parameters are not available in .NET:
//ORIGINAL LINE: protected Object executeScript(final org.camunda.bpm.engine.impl.scripting.ExecutableScript script)
        protected internal virtual object executeScript(ExecutableScript script)
        {
//JAVA TO C# CONVERTER WARNING: The original Java variable was marked 'final':
//ORIGINAL LINE: final org.camunda.bpm.engine.impl.scripting.env.ScriptingEnvironment scriptingEnvironment = processEngineConfiguration.getScriptingEnvironment();
            ScriptingEnvironment scriptingEnvironment = processEngineConfiguration.ScriptingEnvironment;

            return(processEngineConfiguration.CommandExecutorTxRequired.execute(new CommandAnonymousInnerClass(this, script, scriptingEnvironment)));
        }
コード例 #2
0
 public CommandAnonymousInnerClass(ScriptCompilationTest outerInstance, ExecutableScript script, ScriptingEnvironment scriptingEnvironment)
 {
     this.outerInstance        = outerInstance;
     this.script               = script;
     this.scriptingEnvironment = scriptingEnvironment;
 }