C# Class Octopus.Cli.Commands.PackageVersionResolver

Inheritance: IPackageVersionResolver
Show file Open project: OctopusDeploy/Octo.exe Class Usage Examples

Public Methods

Method Description
Add ( string stepNameAndVersion ) : void
Add ( string stepName, string packageVersion ) : void
AddFolder ( string folderPath ) : void
Default ( string packageVersion ) : void
PackageVersionResolver ( Serilog log ) : System
ResolveVersion ( string stepName ) : string

Private Methods

Method Description
TryReadPackageIdentity ( string packageFile, PackageIdentity &packageIdentity ) : bool

Method Details

Add() public method

public Add ( string stepNameAndVersion ) : void
stepNameAndVersion string
return void

Add() public method

public Add ( string stepName, string packageVersion ) : void
stepName string
packageVersion string
return void

AddFolder() public method

public AddFolder ( string folderPath ) : void
folderPath string
return void

Default() public method

public Default ( string packageVersion ) : void
packageVersion string
return void

PackageVersionResolver() public method

public PackageVersionResolver ( Serilog log ) : System
log Serilog
return System

ResolveVersion() public method

public ResolveVersion ( string stepName ) : string
stepName string
return string