Need to hook in a listener to measure load time
I'm a newbie to the RTCclient API, so bare with me.
I need to create a plugin that does different measurements of time. One is to measure how long it takes to load planned Items in the IterationPlanEditor.
Does anyone know how I setup a listener so that I can catch this information?
Thanks
|
5 answers
note that the times collected for Eclipse plan retrieves are very very different than those experienced on the Web UI. due to the fact that the web UI is all javascript.
my java client timings are 1/3-1/2 the web UI timings |
Thanks for a fast reply Sam :) I didn't get as close to a solution as I'd hope though.
In my plugin I implement IStartup and I've added this to the override of earlyStartup()
IWorkItemActivationManager manager = ClientModel.getWorkItemActivationManager();
manager.addActivationParticipant(new MyWorkItemActivationParticipant());
and this is my WorkItemActivationParticipantMonitor class
public class WorkItemActivationParticipantMonitor extends WorkItemActivationParticipant {
@Override
public IStatus handleActivationEvent(WorkItemActivationEvent event, IProgressMonitor monitor) {
System.out.println("activationParticipant Triggered");
return super.handleActivationEvent(event, monitor);
}
but MyWorkItemActivationParticipant.handleActivationEvent is never triggered (scenario is opening a plan into the Plan Editor)
|
a plan is not a workitem.. I have never used the client side listener
|
hmm found that the Jazz Metronome provides the information I need
now I only need to hook in to get the data myself and store them.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.