org.sonar.xoo.rule
Class XooFakeImporterWithMessages

java.lang.Object
  extended by org.sonar.api.profiles.ProfileImporter
      extended by org.sonar.xoo.rule.XooFakeImporterWithMessages
All Implemented Interfaces:
Extension, ServerComponent, ServerExtension

public class XooFakeImporterWithMessages
extends ProfileImporter

Fake importer just for test, it will NOT take into account the given file but will display some info and warning messages


Constructor Summary
XooFakeImporterWithMessages()
           
 
Method Summary
 String[] getSupportedLanguages()
           
 RulesProfile importProfile(Reader reader, ValidationMessages messages)
           
 
Methods inherited from class org.sonar.api.profiles.ProfileImporter
equals, getKey, getName, hashCode, setKey, setName, setSupportedLanguages, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XooFakeImporterWithMessages

public XooFakeImporterWithMessages()
Method Detail

getSupportedLanguages

public String[] getSupportedLanguages()
Overrides:
getSupportedLanguages in class ProfileImporter
Returns:
if empty, then any languages are supported.

importProfile

public RulesProfile importProfile(Reader reader,
                                  ValidationMessages messages)
Specified by:
importProfile in class ProfileImporter


Copyright © 2009–2015 SonarSource. All rights reserved.