UnitRunner<TSettings> Class

graph BT Type-->Base0["SystemctlOperationRunner<TSettings>"] Base0-->Base1["Tool<TSettings>"] Type["UnitRunner<TSettings>"] class Type type-node Derived0["StartUnitRunner"]-->Type click Derived0 "/api/Cake.Systemctl.Runners.Unit/StartUnitRunner" Derived1["ShowUnitRunner"]-->Type click Derived1 "/api/Cake.Systemctl.Runners.Unit/ShowUnitRunner" Derived2["StopUnitRunner"]-->Type click Derived2 "/api/Cake.Systemctl.Runners.Unit/StopUnitRunner"

Syntax

public abstract class UnitRunner<TSettings> : SystemctlOperationRunner<TSettings> 
    where TSettings : UnitSettings

Type Parameters

Name Description
TSettings

Constructors

Properties

Name Value Summary
UnitCommand string

Methods

Name Value Summary
GetArguments(TSettings) ProcessArgumentBuilder
Handle(IEnumerable<string>) void

Extension Methods

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