Package org.sonar.api.profiles
Class ProfileExporter
- java.lang.Object
-
- org.sonar.api.profiles.ProfileExporter
-
@ServerSide @ExtensionPoint @Deprecated public abstract class ProfileExporter extends java.lang.Object
Deprecated.since 9.1. Web services should be used instead.Export quality profile rules to a file- Since:
- 2.3
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ProfileExporter(java.lang.String key, java.lang.String name)
Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Deprecated.abstract void
exportProfile(RulesProfile profile, java.io.Writer writer)
Deprecated.Export activated rule from a quality profile to a writer Note that the quality profile can contain some rules from other plugins.java.lang.String
getKey()
Deprecated.java.lang.String
getMimeType()
Deprecated.java.lang.String
getName()
Deprecated.java.lang.String[]
getSupportedLanguages()
Deprecated.int
hashCode()
Deprecated.ProfileExporter
setKey(java.lang.String s)
Deprecated.ProfileExporter
setMimeType(java.lang.String s)
Deprecated.Set the mime type of the exported fileProfileExporter
setName(java.lang.String s)
Deprecated.protected ProfileExporter
setSupportedLanguages(java.lang.String... languages)
Deprecated.Set the list of languages supported An empty value means that it will be available for every languages.java.lang.String
toString()
Deprecated.
-
-
-
Method Detail
-
exportProfile
public abstract void exportProfile(RulesProfile profile, java.io.Writer writer)
Deprecated.Export activated rule from a quality profile to a writer Note that the quality profile can contain some rules from other plugins. It should not fail in this case.
-
getKey
public java.lang.String getKey()
Deprecated.
-
setKey
public final ProfileExporter setKey(java.lang.String s)
Deprecated.
-
getName
public final java.lang.String getName()
Deprecated.
-
setName
public final ProfileExporter setName(java.lang.String s)
Deprecated.
-
setSupportedLanguages
protected final ProfileExporter setSupportedLanguages(java.lang.String... languages)
Deprecated.Set the list of languages supported An empty value means that it will be available for every languages.
-
getMimeType
public java.lang.String getMimeType()
Deprecated.
-
setMimeType
public final ProfileExporter setMimeType(java.lang.String s)
Deprecated.Set the mime type of the exported file
-
getSupportedLanguages
public java.lang.String[] getSupportedLanguages()
Deprecated.- Returns:
- if empty, then any languages are supported.
-
equals
public final boolean equals(java.lang.Object o)
Deprecated.- Overrides:
equals
in classjava.lang.Object
-
hashCode
public final int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
-