Class SchedulerHeaderDto
One scheduler the container knows about, whether or not anything has built it.
public sealed record SchedulerHeaderDto : IEquatable<SchedulerHeaderDto>
- Inheritance
-
SchedulerHeaderDto
- Implements
- Inherited Members
Remarks
Status and SchedulerInstanceId are null for a registration nothing has created: there is no scheduler to ask, and listing the registrations must not build one. The rest of what a built scheduler is made of arrives with SchedulerDetailDto, which is a read per scheduler rather than part of the listing.
Constructors
SchedulerHeaderDto(string, string?, SchedulerStatus?, SchedulerOrigin)
One scheduler the container knows about, whether or not anything has built it.
public SchedulerHeaderDto(string SchedulerName, string? SchedulerInstanceId, SchedulerStatus? Status, SchedulerOrigin Origin)
Parameters
SchedulerNamestringThe scheduler's name, spelled as it was registered.
SchedulerInstanceIdstringThe instance id of the scheduler behind this registration, or null when nothing has built one.
StatusSchedulerStatus?What state the scheduler is in, or null when no scheduler exists under this name.
OriginSchedulerOriginWhere the scheduler came from.
Remarks
Status and SchedulerInstanceId are null for a registration nothing has created: there is no scheduler to ask, and listing the registrations must not build one. The rest of what a built scheduler is made of arrives with SchedulerDetailDto, which is a read per scheduler rather than part of the listing.
Properties
IsCreated
Whether a scheduler exists under this name, which is what decides whether the rest of the dashboard has anything to show for it.
public bool IsCreated { get; }
Property Value
Origin
Where the scheduler came from.
public SchedulerOrigin Origin { get; init; }
Property Value
SchedulerInstanceId
The instance id of the scheduler behind this registration, or null when nothing has built one.
public string? SchedulerInstanceId { get; init; }
Property Value
SchedulerName
The scheduler's name, spelled as it was registered.
public string SchedulerName { get; init; }
Property Value
Status
What state the scheduler is in, or null when no scheduler exists under this name.
public SchedulerStatus? Status { get; init; }