It's all about the answers!

Ask a question

IQueryDescriptor in internal package - option available?


Lars Ohlén (2566) | asked Feb 12 '12, 6:48 a.m.
Using RTC 3.0.1
Plain Java API
Eclipse Client Integration


I have found a solution to execute queries (shared or personal).
In the solution I'm using an interface (IQueryDescriptor) when finding the defined queries. But IQueryDescriptor is in an internal package.
Is there any other way to find and execute queries, that do not use IQueryDescriptor (working on a Eclipse Client feature)


BR
Lars

2 answers



permanent link
Ralph Schoon (63.0k33645) | answered Feb 13 '12, 3:42 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Lars,

according to the Javadoc for the Plain Java Client Libraries com.ibm.team.workitem.common.query.IQueryDescriptor is public API. You can download the Javadoc from the download pages. I think it got published beginning with 3.0.1.1 but there are few changes if any to earlier versions.

permanent link
Lars Ohlén (2566) | answered Feb 13 '12, 12:16 p.m.
Ralph,

I stand corrected!

I was using a portion of a code sample that was referencing a constant from QueryDescriptor (that class is in a internal package), but the same constant is available from IQueryDescriptor (that is as you pointed out a public API)

Thanks!

//Lars

Your answer


Register or to post your answer.