DeploymentQueryResultParser Class

Summary

Parses the Console Output of the Octo.exe call when called with list-deployments.
Namespace
Cake.Common.Tools.OctopusDeploy
Base Types
  • object
graph BT Type-->Base0["object"] Type["DeploymentQueryResultParser"] class Type type-node

Syntax

public class DeploymentQueryResultParser

Constructors

Name Summary
DeploymentQueryResultParser() Initializes a new instance of the DeploymentQueryResultParser class.

Methods

Name Value Summary
ParseResults(IEnumerable<string>) IEnumerable<OctopusDeployment>
Parse the results from The Deployment Query.
ParseSet(List<string>) OctopusDeployment
Parses a set of lines from the output.

Extension Methods

Name Value Summary
Dump<DeploymentQueryResultParser>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<DeploymentQueryResultParser>(DeploymentQueryResultParser[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<DeploymentQueryResultParser>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<DeploymentQueryResultParser>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
ThrowIfNull<DeploymentQueryResultParser>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<DeploymentQueryResultParser>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin