INestedOtterScript Interface

Represents a nested OtterScript which can be run from within an operation.

Inheritance Hierarchy

Syntax

public interface INestedOtterScript

Properties

Name Description
CompiledScript

Gets the compiled script.

Methods

Name Description
ExecuteAsync(System.Threading.CancellationToken cancellationToken)
GetProgress

Returns the current progress of the nested script execution.

SetAdditionalVariables(System.Collections.Generic.IReadOnlyDictionary<Inedo.ExecutionEngine.RuntimeVariableName, Inedo.ExecutionEngine.Executer.IRuntimeVariable> variables)

Remarks

Once initialized, this instance contains a parsed but not yet run OtterScript. Additional variables can be inserted into the context by calling Inedo.Extensibility.Operations.INestedOtterScript.SetAdditionalVariables(System.Collections.Generic.IReadOnlyDictionary{Inedo.ExecutionEngine.RuntimeVariableName,Inedo.ExecutionEngine.Executer.IRuntimeVariable}) before the script is executed.