The common base class for all types of operations.
Name | Description | |
---|---|---|
MessageLogged |
Occurs when a message is logged. |
Name | Description | |
---|---|---|
ExecuteCommandLineAsync(IOperationExecutionContext context, Inedo.Agents.RemoteProcessStartInfo startInfo) |
Executes the specified process asynchronously and writes process output to the operation's log. |
|
GetDescription(System.Type operationType, Inedo.ExecutionEngine.ActionStatement statement) |
Returns a friendly description of the operation. |
|
GetDescription(System.Type operationType, Inedo.ExecutionEngine.ActionStatement statement, object context) |
Returns a friendly description of the operation. |
|
GetDescription(IOperationConfiguration config) |
Returns a friendly description of this operation and its current configuration. |
|
GetLogScopeName(System.Type operationType, Inedo.ExecutionEngine.ActionStatement statement) |
Returns the log scope name for the operation. |
|
GetProgress |
Returns the current progress of the action as a percentage if it is executing. |
|
Log(Inedo.Diagnostics.IMessage message) |
Writes the specified message to the corresponding log. |
|
LogProcessError(string text) |
Invoked when process error data is received after calling ExecuteCommandLine. |
|
LogProcessOutput(string text) |
Invoked when process output data is received after calling ExecuteCommandLine. |
|
OnMessageLogged(Inedo.Diagnostics.LogMessageEventArgs e) |
Raises the MessageLogged event. |
This class should not be inherited directly. Instead, see ExecuteOperation.