org.sonar.server.configuration
Class MetricsBackup

java.lang.Object
  extended by org.sonar.server.configuration.MetricsBackup
All Implemented Interfaces:
Backupable

public class MetricsBackup
extends Object
implements Backupable


Constructor Summary
protected MetricsBackup()
           
  MetricsBackup(DatabaseSession session)
           
 
Method Summary
 void configure(com.thoughtworks.xstream.XStream xStream)
           
protected  void disableUserDefinedMetrics()
           
 void exportXml(SonarConfig sonarConfig)
           
protected  void exportXml(SonarConfig sonarConfig, Collection<Metric> metrics)
           
 void importXml(SonarConfig sonarConfig)
           
protected  void registerMetrics(SonarConfig sonarConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetricsBackup

public MetricsBackup(DatabaseSession session)

MetricsBackup

protected MetricsBackup()
Method Detail

exportXml

public void exportXml(SonarConfig sonarConfig)
Specified by:
exportXml in interface Backupable

exportXml

protected void exportXml(SonarConfig sonarConfig,
                         Collection<Metric> metrics)

importXml

public void importXml(SonarConfig sonarConfig)
Specified by:
importXml in interface Backupable

disableUserDefinedMetrics

protected void disableUserDefinedMetrics()

registerMetrics

protected void registerMetrics(SonarConfig sonarConfig)

configure

public void configure(com.thoughtworks.xstream.XStream xStream)
Specified by:
configure in interface Backupable


Copyright © 2009-2012 SonarSource. All Rights Reserved.