Hello,
what is the recommended way to get the task data stored in
RepositoryTaskData...
this is how i do this at the moment and i wonder if there is a better
way to do this...
QueryHitCollector collector = new QueryHitCollector(new
TaskFactory(repository));
BugzillaRepositoryQuery monthUser = new
BugzillaRepositoryQuery(repository.getUrl(), queryType.getQuery(),
"monthUserQuery");
connector.performQuery(monthUser, repository, new
NullProgressMonitor(), collector);
Set<String> taskIds = new HashSet<String>();
HashMap<String, AbstractTask> queriedTasks = new HashMap<String,
AbstractTask>();
for (final AbstractTask hit : collector.getTasks()) {
taskIds.add(hit.getTaskId());
}
try {
final Set<RepositoryTaskData> tasks =
handler.getMultiTaskData(repository, taskIds, getMonitor());
} ....
is there a easier/better way ?
Ivan
_______________________________________________
mylyn-integrators mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/mylyn-integrators