Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mylyn-builds-dev] Question about refreshing plans upon new server creation

RefreshSession.refreshPlans() populates the list of plans based on the subscription in the builds model. The subscription is managed in the properties page of the build server. The list of plans presented in the page page is obtained by invokeing BuildServerBehavior.refreshConfiguration() which should return an object with the list of available plans.

I hope that helps.

Steffen


On Wed, Aug 24, 2011 at 7:31 PM, Kiu Leung <kleung@xxxxxxxxxx> wrote:
Hi all,

I am now implementing the getPlans() method of the ServerBehavior class for the koji connector.
At a first glance, I noticed that the method takes a list of plan IDs.  This raises the question
about, when a new server is created and the refresh button is clicked, what is being sent to the
getPlans() to query all the available build plans of the server?

(I did a bit of tracing and it brought me to a RefreshSession class' refreshPlans() method, but tracing
that method leads to a conclusion of an empty list is passed to the getPlans().)

I should be grateful for your kind advice and thank you very much!

Best wishes,

Ken Leung
_______________________________________________
mylyn-builds-dev mailing list
mylyn-builds-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/mylyn-builds-dev



--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com

Back to the top