Quantcast

Writing a plugin for Sonar

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Writing a plugin for Sonar

Masood
This post has NOT been accepted by the mailing list yet.
Hi,

I am trying to write a plugin. For that I have studied some plugin structure of Sonar.
For trial purpose I like to display the language of project.
I have searched that "org.sonar.api.profiles.RulesProfile" has one method "getLanguage()".
How can i use this method to display the language of project in Widgets.
Is context.getlanguage() will give me the language of project?
Or i need to create the object of RulesProfiler and call this method.
Request you to guide me on this.

Thanks Ahead,
Regards,
Masood
Loading...