ProfileTasks#
Selects which buckets of a load profile list the tasks booked in them. Set it through ProfileQuery.tasks or withTasks(...); the lists land in LoadBucket.tasks. The default is ProfileTasks.NONE.
Declaration#
;
Variants#
| Variant | Description |
|---|---|
NONE |
Default. No bucket lists tasks: LoadBucket.tasks is null in every bucket. |
OVER |
Buckets where load > capacity list their booked tasks. Every other bucket gets an empty list. |
ALL |
Every bucket lists the tasks booked in it. A bucket with no load gets an empty list. |
Task ids appear in input order.
In the JSON API (Decode, Encode), the values are spelled "none", "overallocated" (for OVER) and "all".
Example#
;
Related#
ProfileQuery- the query that holds the settingLoadProfile- where the task lists land- Resource load - task lists per bucket