Filtering build result queries by personal build

I currently have a task that queries build results using the IBuildResultQueryModel. I would like the query to ignore personal builds, but I can't figure out how this would be done, or if it's even possible with the query model. Currently I have the query return all the matching results and filter the results using the IBuildResult.isPersonalBuild() method. Can this be done more efficiently?
Thanks,
-Dave
Thanks,
-Dave
2 answers

Sorry for the delay in responding. I've been heads-down with 3.0 RC0.
The personal build property is queryable, but in 2.x this was not exposed in the API query model. It's there on the internal one:
com.ibm.team.build.internal.common.model.query.BaseBuildResultQueryModel.BuildResultQueryModel. This has been fixed up in 3.0.
The personal build property is queryable, but in 2.x this was not exposed in the API query model. It's there on the internal one:
com.ibm.team.build.internal.common.model.query.BaseBuildResultQueryModel.BuildResultQueryModel. This has been fixed up in 3.0.