Table of Contents

Interface IJob

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

JobControl Job.

public interface IJob : IModel, IDisposable
Inherited Members
Extension Methods

Properties

ProcessingLog

Job's processing log.

ILog ProcessingLog { get; }

Property Value

ILog

Methods

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

Initialize a Job

IJob Initialize(string name, string? description, IReadOnlyDictionary<string, object?>? properties)

Parameters

name string

Unique Job name/ID

description string

Job description

properties IReadOnlyDictionary<string, object>

Properties dictionary

Returns

IJob

this. (Utility to create instances like: var job= new Job().Initialize(name, description, properties);)

Run(IReadOnlyDictionary<string, object?>)

Run Job

IJobResult Run(IReadOnlyDictionary<string, object?> props)

Parameters

props IReadOnlyDictionary<string, object>

Returns

IJobResult