org.sonar.server.configuration
Class Backup

java.lang.Object
  extended by org.sonar.server.configuration.Backup

public class Backup
extends Object


Field Summary
protected static String DATE_FORMAT
           
 
Constructor Summary
protected Backup()
           
  Backup(DatabaseSession session)
           
 
Method Summary
 String exportXml()
           
protected  String exportXml(SonarConfig sonarConfig)
           
protected  Date getCurrentDate()
           
protected  SonarConfig getSonarConfigFromXml(String xml)
           
protected  int getVersion()
           
protected  String getXmlFromSonarConfig(SonarConfig sonarConfig)
           
protected  void importBackupablesXml(SonarConfig sonarConfig)
           
 void importXml(String xml)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATE_FORMAT

protected static final String DATE_FORMAT
See Also:
Constant Field Values
Constructor Detail

Backup

protected Backup()

Backup

public Backup(DatabaseSession session)
Method Detail

exportXml

public String exportXml()

exportXml

protected String exportXml(SonarConfig sonarConfig)

getXmlFromSonarConfig

protected String getXmlFromSonarConfig(SonarConfig sonarConfig)

importXml

public void importXml(String xml)

importBackupablesXml

protected void importBackupablesXml(SonarConfig sonarConfig)

getSonarConfigFromXml

protected SonarConfig getSonarConfigFromXml(String xml)

getVersion

protected int getVersion()

getCurrentDate

protected Date getCurrentDate()


Copyright © 2009-2012 SonarSource. All Rights Reserved.