org.sonar.xoo.rule
Class XooFakeExporter

java.lang.Object
  extended by org.sonar.api.profiles.ProfileExporter
      extended by org.sonar.xoo.rule.XooFakeExporter
All Implemented Interfaces:
BatchComponent, BatchExtension, Extension, ServerComponent, ServerExtension

public class XooFakeExporter
extends ProfileExporter

Fake exporter just for test


Constructor Summary
XooFakeExporter()
           
 
Method Summary
 void exportProfile(RulesProfile profile, Writer writer)
           
 String getMimeType()
           
 String[] getSupportedLanguages()
           
 
Methods inherited from class org.sonar.api.profiles.ProfileExporter
equals, getKey, getName, hashCode, setKey, setMimeType, setName, setSupportedLanguages, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XooFakeExporter

public XooFakeExporter()
Method Detail

getSupportedLanguages

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

getMimeType

public String getMimeType()
Overrides:
getMimeType in class ProfileExporter

exportProfile

public void exportProfile(RulesProfile profile,
                          Writer writer)
Specified by:
exportProfile in class ProfileExporter


Copyright © 2009–2016 SonarSource. All rights reserved.