UniversalPackagePushSettings Class

Summary

Contains settings used for the UniversalPackagePusher command.
Assembly
Cake.ProGet.dll
Namespace
Cake.ProGet.Universal.Push
Base Types
  • ToolSettings
graph BT Type-->Base0["ToolSettings"] Type["UniversalPackagePushSettings"] class Type type-node

Syntax

public sealed class UniversalPackagePushSettings : ToolSettings

Constructors

Name Summary
UniversalPackagePushSettings() Initializes a new instance of the UniversalPackagePushSettings class.
UniversalPackagePushSettings(FilePath, string) Initializes a new instance of the UniversalPackagePushSettings class.

Properties

Name Value Summary
Package FilePath
Gets or sets the FilePath of the package to push
Password string
Gets or sets the password for an authenticated endpoint
Target string
Gets or sets the URL of a upack API endpoint.
UserName string
Gets or sets the username for an authenticated endpoint

Methods

Name Value Summary
AreCredentialsValid() bool
Gets whether or not both username and password are specified
HasCredentials() bool
Gets whether or not credentials are specified

Extension Methods

Name Value Summary
Dump<UniversalPackagePushSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<UniversalPackagePushSettings>(UniversalPackagePushSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<UniversalPackagePushSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<UniversalPackagePushSettings>(string) void
Requires the Cake.Issues addin
ThrowIfNull<UniversalPackagePushSettings>(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<UniversalPackagePushSettings>(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
ToStringWithNullMarkup() string
Requires the Cake.Issues addin

See Also