org.sonar.api.profiles
Class ProfileImporter
java.lang.Object
org.sonar.api.profiles.ProfileImporter
- All Implemented Interfaces:
- Extension, ServerComponent, ServerExtension
- Direct Known Subclasses:
- XooFakeImporter, XooFakeImporterWithMessages
public abstract class ProfileImporter
- extends Object
- implements ServerExtension
- Since:
- 2.3
ProfileImporter
protected ProfileImporter(String key,
String name)
importProfile
public abstract RulesProfile importProfile(Reader reader,
ValidationMessages messages)
getKey
public String getKey()
setKey
public final ProfileImporter setKey(String s)
getName
public final String getName()
setName
public final ProfileImporter setName(String s)
setSupportedLanguages
protected final ProfileImporter setSupportedLanguages(String... languages)
getSupportedLanguages
public String[] getSupportedLanguages()
- Returns:
- if empty, then any languages are supported.
equals
public final boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public final int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2009–2015 SonarSource. All rights reserved.