resources#
Resource load and leveling. The types in this folder fall into three groups:
- Overallocation:
ResourceOverallocationlists, per resource, theOverallocationWindowentries where booked load exceeds capacity. A schedule result reports them inScheduleResult.overallocationswhen the project has assignments. AfterProject#level, each remaining window carries areason. - Load profile:
Project#loadProfiletakesLoadProfileOptionsand returns aLoadProfilewith per-bucket load and capacity for each resource. AProfileQuerysets the range, resources, bucket size andProfileTasksdetail. Pass it tonew LoadProfileOptions(query), or toPreviewOptions.profileto get a profile fromProject#preview. - Leveling:
Project#leveltakesLevelingOptions, configured withLevelingScope,LevelingOrderandLevelingStep, and returns aLevelingResult: the leveledScheduleResultand a round count.Project#evaluateandProject#suggestAssignmentsalso takeLevelingOptionsthrough thelevelfield of their options.
These are mutable classes with public fields and fluent withX(value) setters, plus enums. Every type here is in the org.dhtmlx.plen package. For how load is booked and how the leveler moves tasks, see Resource load and Leveling resources.
- LevelingOptionsOptions of Project#level - scope, detection basis, selection order, slack cap, splits and step size
- LevelingResultThe schedule after leveling and the number of rounds that proposed a correction
- LoadProfilePer-bucket load and capacity of resources over a date range, returned by loadProfile and preview
- LoadProfileOptionsOptions of Project#loadProfile, a profile query plus an optional baseline guard
- ProfileQueryThe date range, resources, bucket size and task lists a load profile covers
- ProfileTasksSelects which load-profile buckets list the tasks booked in them
- ResourceOverallocationThe overallocated windows of one resource, reported in a schedule result