Otter SDK Reference
Version:

RemoteExecuteOperation Class

An execute operation that runs remotely.

Inheritance Hierarchy

Syntax

public class RemoteExecuteOperation : ExecuteOperation, Inedo.Diagnostics.ILogger, IExecutingOperation

Constructors

Name Description
RemoteExecuteOperation

Initializes a new instance of the RemoteExecuteOperation class.

Properties

Name Description
Complete

Gets a completed System.Threading.Tasks.Task which can be returned from the ExecuteAsync(IOperationExecutionContext context) method.

Methods

Name Description
AfterRemoteExecuteAsync(object result)

Invoked on the Otter server after RemoteExecuteAsync(IRemoteOperationExecutionContext context) is called remotely.

BeforeRemoteExecuteAsync(IOperationExecutionContext context)

Invoked on the Otter server before RemoteExecuteAsync(IRemoteOperationExecutionContext context) is called remotely.

ExecuteAsync(IOperationExecutionContext context)

Executes the operation.

ExecuteCommandLineAsync(IRemoteOperationExecutionContext context, Inedo.Agents.RemoteProcessStartInfo startInfo)

Executes the specified process asychronously and writes process output to the operation's log.

ExecuteCommandLineAsync(IOperationExecutionContext context, Inedo.Agents.RemoteProcessStartInfo startInfo)

Executes the specified process asychronously and writes process output to the operation's log.

RemoteExecuteAsync(IRemoteOperationExecutionContext context)

Runs the operation remotely.