VagrantProvisionerSettings Class

Summary

Additional settings for controlling provisioner execution
Assembly
Cake.Vagrant.dll
Namespace
Cake.Vagrant.Settings
Interfaces
  • IVagrantCommandSettings
Base Types
  • Object
graph BT Type-->Base0["Object"] Type-.->Interface0["IVagrantCommandSettings"] Type["VagrantProvisionerSettings"] class Type type-node

Syntax

public class VagrantProvisionerSettings : IVagrantCommandSettings

Constructors

Properties

Name Value Summary
Provisioners IEnumerable<string>
This will only run the given provisioners.
RunProvisioners bool
Gets or sets a value controlling whether to run provisioners on reload.

Methods

Name Value Summary
GetToolArguments() Action<ProcessArgumentBuilder>
Gets the command arguments corresponding to the specified IVagrantCommandSettings

Extension Methods

Name Value Summary
Dump<VagrantProvisionerSettings>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<VagrantProvisionerSettings>(VagrantProvisionerSettings[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<VagrantProvisionerSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<VagrantProvisionerSettings>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Issues addin
RunProvisioners(bool) VagrantProvisionerSettings
Force the provisioners to run during the operation
Requires the Cake.Vagrant addin
ThrowIfNull<VagrantProvisionerSettings>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<VagrantProvisionerSettings>(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
WithProvisioners(IEnumerable<string>) VagrantProvisionerSettings
Adds the given provisioners to run during the operation
Requires the Cake.Vagrant addin
WithProvisioners(string[]) VagrantProvisionerSettings
Adds the given provisioners to run during the operation
Requires the Cake.Vagrant addin