org.jvnet.hudson.plugins.thinbackup.backup
Class HudsonBackup

java.lang.Object
  extended by org.jvnet.hudson.plugins.thinbackup.backup.HudsonBackup

public class HudsonBackup
extends Object


Field Summary
static String ARCHIVE_DIR_NAME
           
static String BUILDS_DIR_NAME
           
static String CHANGELOG_HISTORY_PLUGIN_DIR_NAME
           
static String INSTALLED_PLUGINS_XML
           
static String JOBS_DIR_NAME
           
static String NEXT_BUILD_NUMBER_FILE_NAME
           
static String USERS_DIR_NAME
           
static String USERSCONTENTS_DIR_NAME
           
static String XML_FILE_EXTENSION
           
static String ZIP_FILE_EXTENSION
           
 
Constructor Summary
  HudsonBackup(ThinBackupPluginImpl plugin, ThinBackupPeriodicWork.BackupType backupType)
           
protected HudsonBackup(ThinBackupPluginImpl plugin, ThinBackupPeriodicWork.BackupType backupType, Date date)
          package visible constructor for unit testing purposes only.
 
Method Summary
 void backup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BUILDS_DIR_NAME

public static final String BUILDS_DIR_NAME
See Also:
Constant Field Values

JOBS_DIR_NAME

public static final String JOBS_DIR_NAME
See Also:
Constant Field Values

USERS_DIR_NAME

public static final String USERS_DIR_NAME
See Also:
Constant Field Values

USERSCONTENTS_DIR_NAME

public static final String USERSCONTENTS_DIR_NAME
See Also:
Constant Field Values

NEXT_BUILD_NUMBER_FILE_NAME

public static final String NEXT_BUILD_NUMBER_FILE_NAME
See Also:
Constant Field Values

ARCHIVE_DIR_NAME

public static final String ARCHIVE_DIR_NAME
See Also:
Constant Field Values

XML_FILE_EXTENSION

public static final String XML_FILE_EXTENSION
See Also:
Constant Field Values

ZIP_FILE_EXTENSION

public static final String ZIP_FILE_EXTENSION
See Also:
Constant Field Values

INSTALLED_PLUGINS_XML

public static final String INSTALLED_PLUGINS_XML
See Also:
Constant Field Values

CHANGELOG_HISTORY_PLUGIN_DIR_NAME

public static final String CHANGELOG_HISTORY_PLUGIN_DIR_NAME
See Also:
Constant Field Values
Constructor Detail

HudsonBackup

public HudsonBackup(ThinBackupPluginImpl plugin,
                    ThinBackupPeriodicWork.BackupType backupType)

HudsonBackup

protected HudsonBackup(ThinBackupPluginImpl plugin,
                       ThinBackupPeriodicWork.BackupType backupType,
                       Date date)
package visible constructor for unit testing purposes only.

Method Detail

backup

public void backup()
            throws IOException
Throws:
IOException


Copyright © 2004-2012 Borland (a Microfocus Company). All Rights Reserved.