org.sonar.api.profiles
Class XMLProfileParser
java.lang.Object
org.sonar.api.profiles.XMLProfileParser
- All Implemented Interfaces:
- ServerComponent
public class XMLProfileParser
- extends Object
- implements ServerComponent
- Since:
- 2.3
Constructor Summary |
XMLProfileParser(RuleFinder ruleFinder)
Deprecated. since 2.5. Plugins shouldn't directly instantiate this class,
because it should be retrieved as an IoC dependency. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLProfileParser
@Deprecated
public XMLProfileParser(RuleFinder ruleFinder)
- Deprecated. since 2.5. Plugins shouldn't directly instantiate this class,
because it should be retrieved as an IoC dependency.
- For backward compatibility.
parseResource
public RulesProfile parseResource(ClassLoader classloader,
String xmlClassPath,
ValidationMessages messages)
parse
public RulesProfile parse(Reader reader,
ValidationMessages messages)
Copyright © 2009–2015 SonarSource. All rights reserved.