Table of Contents

Class JobDetailDto

Namespace
Quartz.Dashboard.Services
Assembly
Quartz.Dashboard.dll
public sealed record JobDetailDto : IEquatable<JobDetailDto>
Inheritance
JobDetailDto
Implements
Inherited Members

Remarks

JobDataMap holds whatever the job was given, of whatever type — but that is exactly what JobDataMap is for, and it is what the scheduler hands back, so there is no honesty to be had from a looser type here.

ConcurrentExecutionDisallowed and PersistJobDataAfterExecution are nullable: present means the value was stated, absent means "whatever the type says". Reading a job whose type this process cannot resolve reports them as absent rather than as false, and writing one without them leaves DisallowConcurrentExecutionAttribute to say what it says.

Constructors

JobDetailDto(string, string, string, string?, bool, bool, bool?, bool?, JobDataMap)

public JobDetailDto(string Name, string Group, string JobType, string? Description, bool Durable, bool RequestsRecovery, bool? ConcurrentExecutionDisallowed, bool? PersistJobDataAfterExecution, JobDataMap JobDataMap)

Parameters

Name string
Group string
JobType string
Description string
Durable bool
RequestsRecovery bool
ConcurrentExecutionDisallowed bool?
PersistJobDataAfterExecution bool?
JobDataMap JobDataMap

Remarks

JobDataMap holds whatever the job was given, of whatever type — but that is exactly what JobDataMap is for, and it is what the scheduler hands back, so there is no honesty to be had from a looser type here.

ConcurrentExecutionDisallowed and PersistJobDataAfterExecution are nullable: present means the value was stated, absent means "whatever the type says". Reading a job whose type this process cannot resolve reports them as absent rather than as false, and writing one without them leaves DisallowConcurrentExecutionAttribute to say what it says.

Properties

ConcurrentExecutionDisallowed

public bool? ConcurrentExecutionDisallowed { get; init; }

Property Value

bool?

Description

public string? Description { get; init; }

Property Value

string

Durable

public bool Durable { get; init; }

Property Value

bool

Group

public string Group { get; init; }

Property Value

string

JobDataMap

public JobDataMap JobDataMap { get; init; }

Property Value

JobDataMap

JobType

public string JobType { get; init; }

Property Value

string

Name

public string Name { get; init; }

Property Value

string

PersistJobDataAfterExecution

public bool? PersistJobDataAfterExecution { get; init; }

Property Value

bool?

RequestsRecovery

public bool RequestsRecovery { get; init; }

Property Value

bool