org.sonar.xoo.rule
Class XooFakeImporterWithMessages
java.lang.Object
org.sonar.api.profiles.ProfileImporter
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
XooFakeImporterWithMessages
public XooFakeImporterWithMessages()
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.