org.sonar.core.configuration
Class Backup

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

public class Backup
extends java.lang.Object


Field Summary
protected static java.lang.String DATE_FORMAT
           
 
Constructor Summary
protected Backup()
           
protected Backup(java.util.List<Backupable> backupables)
           
  Backup(MixedConfiguration configuration, DatabaseManagerFactory databaseManagerFactory)
           
 
Method Summary
 java.lang.String exportXml()
           
protected  java.lang.String exportXml(SonarConfig sonarConfig)
           
protected  java.util.Date getCurrentDate()
           
protected  SonarConfig getSonarConfigFromXml(java.lang.String xml)
           
protected  int getVersion()
           
protected  java.lang.String getXmlFromSonarConfig(SonarConfig sonarConfig)
           
protected  void importBackupablesXml(SonarConfig sonarConfig)
           
 void importXml(java.lang.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 java.lang.String DATE_FORMAT
See Also:
Constant Field Values
Constructor Detail

Backup

protected Backup()

Backup

public Backup(MixedConfiguration configuration,
              DatabaseManagerFactory databaseManagerFactory)

Backup

protected Backup(java.util.List<Backupable> backupables)
Method Detail

exportXml

public java.lang.String exportXml()

exportXml

protected java.lang.String exportXml(SonarConfig sonarConfig)

getXmlFromSonarConfig

protected java.lang.String getXmlFromSonarConfig(SonarConfig sonarConfig)

importXml

public void importXml(java.lang.String xml)

importBackupablesXml

protected void importBackupablesXml(SonarConfig sonarConfig)

getSonarConfigFromXml

protected SonarConfig getSonarConfigFromXml(java.lang.String xml)

getVersion

protected int getVersion()

getCurrentDate

protected java.util.Date getCurrentDate()


Copyright © 2008 SonarSource SA. All Rights Reserved.