Class JobDetailDto
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
NamestringGroupstringJobTypestringDescriptionstringDurableboolRequestsRecoveryboolConcurrentExecutionDisallowedbool?PersistJobDataAfterExecutionbool?JobDataMapJobDataMap
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
Durable
public bool Durable { get; init; }
Property Value
Group
public string Group { get; init; }
Property Value
JobDataMap
public JobDataMap JobDataMap { get; init; }
Property Value
JobType
public string JobType { get; init; }
Property Value
Name
public string Name { get; init; }
Property Value
PersistJobDataAfterExecution
public bool? PersistJobDataAfterExecution { get; init; }
Property Value
- bool?
RequestsRecovery
public bool RequestsRecovery { get; init; }