I currently use this in my language plugin:
----
public final class MyLanguageProfile
extends ProfileDefinition
{
private final RuleFinder finder;
public MyLanguageProfile(final RuleFinder finder)
{
this.finder = finder;
}
@Override
public RulesProfile createProfile(final ValidationMessages messages)
{
// etc
----
but it is deprecated in sonar-plugin-api 5.1; what replaces it? What
is more I use an AnnotationBasedProfileBulder with the finder as an
argument to register the rules:
----
return new AnnotationBasedProfileBuilder(finder).build(repositoryKey,
profileName, languageKey, checks, messages);
----
What should replace it?
--
Francis Galiegue,
[hidden email],
https://github.com/fgeJSON Schema in Java:
http://json-schema-validator.herokuapp.comParsers in pure Java:
https://github.com/fge/grappa---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email