C# Class Octopus.Cli.Commands.ApiCommand

Inheritance: ICommand
ファイルを表示 Open project: OctopusDeploy/Octo.exe

Public Methods

Method Description
Execute ( string commandLineArguments ) : System.Threading.Tasks.Task
GetHelp ( TextWriter writer ) : void

Protected Methods

Method Description
ApiCommand ( IOctopusClientFactory clientFactory, IOctopusAsyncRepositoryFactory repositoryFactory, ILogger log, IOctopusFileSystem fileSystem ) : System
Execute ( ) : System.Threading.Tasks.Task
FormatReleasePropertiesAsStrings ( ReleaseResource release ) : IEnumerable
GetPackageVersionsAsString ( IEnumerable packages ) : string
GetPortalUrl ( string path ) : string
ReadAdditionalInputsFromConfigurationFile ( string configFile ) : List
SetFlagState ( string input, bool &setter ) : void
ValidateParameters ( ) : void

Private Methods

Method Description
ParseCredentials ( string username, string password ) : NetworkCredential
ServerCertificateValidationCallback ( object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors errors ) : bool

Method Details

ApiCommand() protected method

protected ApiCommand ( IOctopusClientFactory clientFactory, IOctopusAsyncRepositoryFactory repositoryFactory, ILogger log, IOctopusFileSystem fileSystem ) : System
clientFactory IOctopusClientFactory
repositoryFactory IOctopusAsyncRepositoryFactory
log ILogger
fileSystem IOctopusFileSystem
return System

Execute() protected abstract method

protected abstract Execute ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

Execute() public method

public Execute ( string commandLineArguments ) : System.Threading.Tasks.Task
commandLineArguments string
return System.Threading.Tasks.Task

FormatReleasePropertiesAsStrings() protected static method

protected static FormatReleasePropertiesAsStrings ( ReleaseResource release ) : IEnumerable
release Octopus.Client.Model.ReleaseResource
return IEnumerable

GetHelp() public method

public GetHelp ( TextWriter writer ) : void
writer System.IO.TextWriter
return void

GetPackageVersionsAsString() protected static method

protected static GetPackageVersionsAsString ( IEnumerable packages ) : string
packages IEnumerable
return string

GetPortalUrl() protected method

protected GetPortalUrl ( string path ) : string
path string
return string

ReadAdditionalInputsFromConfigurationFile() protected method

protected ReadAdditionalInputsFromConfigurationFile ( string configFile ) : List
configFile string
return List

SetFlagState() protected method

protected SetFlagState ( string input, bool &setter ) : void
input string
setter bool
return void

ValidateParameters() protected method

protected ValidateParameters ( ) : void
return void