Table of Contents

Class JobDefinitionSettings

Namespace
JobFlow.Models.Jobs.Definitions
Assembly
JobFlow.Models.dll

Provides additional settings for Job definitions.

public class JobDefinitionSettings
Inheritance
JobDefinitionSettings

Constructors

JobDefinitionSettings()

public JobDefinitionSettings()

JobDefinitionSettings(DateTime)

public JobDefinitionSettings(DateTime scheduleDateTime)

Parameters

scheduleDateTime DateTime

JobDefinitionSettings(string)

public JobDefinitionSettings(string connectionName)

Parameters

connectionName string

JobDefinitionSettings(string, DateTime)

public JobDefinitionSettings(string connectionName, DateTime scheduleDateTime)

Parameters

connectionName string
scheduleDateTime DateTime

Fields

ConnectionNameNone

public const string ConnectionNameNone = "_none_"

Field Value

string

Properties

ConnectionName

Connection name to be used for this Job.

public string ConnectionName { get; set; }

Property Value

string

Remarks

The uses the Job name by default (when this property is set to null), but can be overridden with this property. If this is set to the special name ConnectionNameNone, then the Job won't be automatically dispatched by the system.

Data

Adds custom Data to the Job. Accessible from workers with the Data property.

public dynamic Data { get; set; }

Property Value

dynamic

ScheduleDateTime

Schedule the Job for a specific time. A scheduler will need to be added to the JobFlow configuration.

public DateTime? ScheduleDateTime { get; set; }

Property Value

DateTime?