Table of Contents

Class TriggerQuery

Namespace
Quartz
Assembly
Quartz.dll

Selects triggers, as TriggerHeaders. The filters combine with AND.

public sealed record TriggerQuery : PagedQuery, IEquatable<PagedQuery>, IEquatable<TriggerQuery>
Inheritance
TriggerQuery
Implements
Inherited Members

Properties

CalendarName

Limits the result to triggers that reference the named calendar.

public string? CalendarName { get; init; }

Property Value

string

Group

Limits the result to triggers whose group matches. Null matches every group.

public GroupMatcher<TriggerKey>? Group { get; init; }

Property Value

GroupMatcher<TriggerKey>

Job

Limits the result to the triggers of one job.

public JobKey? Job { get; init; }

Property Value

JobKey

Name

Limits the result to triggers whose name matches. Null matches every name.

public NameMatcher<TriggerKey>? Name { get; init; }

Property Value

NameMatcher<TriggerKey>

State

Limits the result to triggers in the given state — for example Error to list or count failed triggers.

public TriggerState? State { get; init; }

Property Value

TriggerState?