Created by: marshall007
The goal of this PR is to consolidate all the logic for counting and listing various job sets. If this PR is merged, all the individual getType()
and getTypeCount()
can be considered deprecated as the user can now just use getJobs([types])
and getJobCounts(types...)
respectively.
The one breaking change is that the asc
parameter of getJobs()
is now the last optional parameter. This made more sense if getJobs()
is to be considered a public API since most users won't care about the asc
parameter.