org.sonar.server.configuration
Class MetricsBackup
java.lang.Object
org.sonar.server.configuration.MetricsBackup
- All Implemented Interfaces:
- Backupable
public class MetricsBackup
- extends Object
- implements Backupable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetricsBackup
public MetricsBackup(DatabaseSession session)
MetricsBackup
protected MetricsBackup()
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.