Table of Contents

Class MasterStarter

Namespace
Tlabs.JobCntrl.Model.Intern
Assembly
Tlabs.JobCntrl.dll

A IStarter master class.

public class MasterStarter : MasterBase<IStarter>, IModel, IDisposable
Inheritance
MasterStarter
Implements
Inherited Members
Extension Methods

Remarks

Instances of this class are factory classes for actual IStarter implementations.

Constructors

MasterStarter(string, string?, Type, IReadOnlyDictionary<string, object?>?)

Ctor.

public MasterStarter(string name, string? description, Type starterType, IReadOnlyDictionary<string, object?>? properties)

Parameters

name string

unique master starter name

description string

description string

starterType Type

Target IStarter instance type

properties IReadOnlyDictionary<string, object>

Master starter configuration parameters

Fields

PROP_RUNTIME

internal runtime property

public const string PROP_RUNTIME = "$Runtime-Obj"

Field Value

string

RPROP_PARALLEL_START

If this run-property is set (true on DoAcivate), allow for parallel Starter invocation

public const string RPROP_PARALLEL_START = "Parallel-Start"

Field Value

string

Methods

CreateRuntimeStarter(string, string, IReadOnlyDictionary<string, object?>)

Create a IStarter runtime instance.

public IRuntimeStarter CreateRuntimeStarter(string name, string description, IReadOnlyDictionary<string, object?> properties)

Parameters

name string

Starter's runtime name

description string

Description

properties IReadOnlyDictionary<string, object>

Runtime configuration parameters

Returns

IRuntimeStarter

Dispose(bool)

dispose when == true.

protected override void Dispose(bool disposing)

Parameters

disposing bool