GruntRunner<TSettings> Class

Summary

Class GruntRunner.
Assembly
Cake.Grunt.dll
Namespace
Cake.Grunt
Base Types
Derived Types
graph BT Type-->Base0["Tool<TSettings>"] Type["GruntRunner<TSettings>"] class Type type-node Derived0["GruntGlobalRunner"]-->Type click Derived0 "/api/Cake.Grunt/GruntGlobalRunner" Derived1["GruntLocalRunner"]-->Type click Derived1 "/api/Cake.Grunt/GruntLocalRunner"

Syntax

public abstract class GruntRunner<TSettings> : Tool<TSettings> where TSettings : GruntRunnerSettings

Type Parameters

Name Description
TSettings

Constructors

Methods

Name Value Summary
Execute(Action<TSettings>) void
Executes grunt
GetToolName() string
Gets the name of the tool.
ValidateSettings(TSettings) void
Validates settings

Extension Methods

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