Class JobGroupQuery
- Namespace
- Quartz
- Assembly
- Quartz.dll
Selects job groups, as JobGroups.
public sealed record JobGroupQuery : PagedQuery, IEquatable<PagedQuery>, IEquatable<JobGroupQuery>
- Inheritance
-
JobGroupQuery
- Implements
- Inherited Members
Properties
Name
Limits the result to groups whose name matches. Null matches every group.
public NameMatcher? Name { get; init; }
Property Value
Remarks
A group is identified by a bare name rather than by a Key<T>, so the filter is
the arity-free NameMatcher rather than NameMatcher<TKey>.
NameMatcher.NameEquals(group) combined with Take = 1 answers "is this group
paused?" without listing every group, and the other three comparisons list the groups of one
tenant or one subsystem without reading the rest.
Paused
Limits the result by paused state: true for paused groups only, false for unpaused only, null for all groups.
public bool? Paused { get; init; }
Property Value
- bool?
Remarks
A group can be paused while it holds no jobs, so Paused = true can report a
group the unfiltered listing does not — the unfiltered listing enumerates the groups
jobs are in, and an empty group is not one of them.