Exemple #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)));
        }
Exemple #2
0
        public override void verifyListener <T1>(DelegateListener <T1> listener) where T1 : [email protected]
        {
            assertTrue(listener is ScriptCaseExecutionListener);

            ScriptCaseExecutionListener scriptListener   = (ScriptCaseExecutionListener)listener;
            ExecutableScript            executableScript = scriptListener.Script;

            assertNotNull(executableScript);
            assertEquals(SCRIPT_FORMAT, executableScript.Language);
        }
Exemple #3
0
 public CommandAnonymousInnerClass(ScriptCompilationTest outerInstance, ExecutableScript script, ScriptingEnvironment scriptingEnvironment)
 {
     this.outerInstance        = outerInstance;
     this.script               = script;
     this.scriptingEnvironment = scriptingEnvironment;
 }
Exemple #4
0
 public ScriptCaseExecutionListener(ExecutableScript script)
 {
     this.script = script;
 }
Exemple #5
0
 public ScriptCaseVariableListener(ExecutableScript script)
 {
     this.script = script;
 }
Exemple #6
0
 public ScriptInvocation(ExecutableScript script, VariableScope scope, BaseDelegateExecution contextExecution) : base(contextExecution, null)
 {
     this.script = script;
     this.scope  = scope;
 }
Exemple #7
0
 public ScriptInvocation(ExecutableScript script, VariableScope scope) : this(script, scope, null)
 {
 }