eXo JCR :: Component :: Extension Service 1.16.0-CR2

org.exoplatform.services.jcr.ext.backup.server.bean
Class BackupConfigBean

java.lang.Object
  extended by org.exoplatform.services.jcr.ext.backup.server.bean.BackupConfigBean

public class BackupConfigBean
extends Object

Created by The eXo Platform SAS.
Date: 26.03.2009

Version:
$Id: BackupConfigBeen.java 111 2008-11-11 11:11:11Z rainf0x $
Author:
Alex Reshetnyak

Constructor Summary
BackupConfigBean()
          BackupConfigBeen constructor.
BackupConfigBean(BackupConfig config)
          BackupConfigBeen constructor.
BackupConfigBean(Integer backupType, String backupDir)
          BackupConfigBeen constructor.
BackupConfigBean(Integer backupType, String backupDir, Long incrementalJobPeriod)
          BackupConfigBeen constructor.
BackupConfigBean(Integer backupType, String backupDir, Long incrementalJobPeriod, Integer incrementalRepetitionNumber)
          BackupConfigBeen constructor.
BackupConfigBean(RepositoryBackupConfig config)
          BackupConfigBeen constructor.
 
Method Summary
 String getBackupDir()
          getBackupDir.
 Integer getBackupType()
          getBackupType.
 BackupJobConfig getFullBackupJobConfig()
          getFullBackupJobConfig.
 BackupJobConfig getIncrementalBackupJobConfig()
          getIncrementalBackupJobConfig.
 Long getIncrementalJobPeriod()
          getIncrementalJobPeriod.
 Integer getIncrementalRepetitionNumber()
          getIncrementalRepetitionNumber.
 void setBackupDir(String backupDir)
          setBackupDir.
 void setBackupType(Integer backupType)
          setBackupType.
 void setFullBackupJobConfig(BackupJobConfig fullBackupJobConfig)
          setFullBackupJobConfig.
 void setIncrementalBackupJobConfig(BackupJobConfig incrementalBackupJobConfig)
          setIncrementalBackupJobConfig.
 void setIncrementalJobPeriod(Long incrementalJobPeriod)
          setIncrementalJobPeriod.
 void setIncrementalRepetitionNumber(Integer incrementalRepetitionNumber)
          setIncrementalRepetitionNumber.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BackupConfigBean

public BackupConfigBean()
BackupConfigBeen constructor. Empty constructor for JSON.


BackupConfigBean

public BackupConfigBean(Integer backupType,
                        String backupDir)
BackupConfigBeen constructor. Constructor for full backup.

Parameters:
backupType - Integer, backup tyeps
backupDir - String, path to backup folder

BackupConfigBean

public BackupConfigBean(Integer backupType,
                        String backupDir,
                        Long incrementalJobPeriod)
BackupConfigBeen constructor. Constructor for full + incremental backup.

Parameters:
backupType - Integer, backup tyeps
backupDir - String, path to backup folder
incrementalJobPeriod - Long, incremental job period

BackupConfigBean

public BackupConfigBean(Integer backupType,
                        String backupDir,
                        Long incrementalJobPeriod,
                        Integer incrementalRepetitionNumber)
BackupConfigBeen constructor. Constructor for full + incremental backup.

Parameters:
backupType - Integer, backup tyeps
backupDir - String, path to backup folder
incrementalJobPeriod - Long, incremental job period
incrementalRepetitionNumber - Integer, incremental repetition number

BackupConfigBean

public BackupConfigBean(BackupConfig config)
BackupConfigBeen constructor.

Parameters:
config - the backup config

BackupConfigBean

public BackupConfigBean(RepositoryBackupConfig config)
BackupConfigBeen constructor.

Parameters:
config - the backup config
Method Detail

getIncrementalJobPeriod

public Long getIncrementalJobPeriod()
getIncrementalJobPeriod.

Returns:
Long return the incremental job period

setIncrementalJobPeriod

public void setIncrementalJobPeriod(Long incrementalJobPeriod)
setIncrementalJobPeriod.

Parameters:
incrementalJobPeriod - Long, the incremental job period

getBackupDir

public String getBackupDir()
getBackupDir.

Returns:
String return path to backup folder

setBackupDir

public void setBackupDir(String backupDir)
setBackupDir.

Parameters:
backupDir - String, path to backup folder

getBackupType

public Integer getBackupType()
getBackupType.

Returns:
Integer return the backup type

setBackupType

public void setBackupType(Integer backupType)
setBackupType.

Parameters:
backupType - Integer, the backup type

getIncrementalRepetitionNumber

public Integer getIncrementalRepetitionNumber()
getIncrementalRepetitionNumber.

Returns:
Integer return the incremental repetition number

setIncrementalRepetitionNumber

public void setIncrementalRepetitionNumber(Integer incrementalRepetitionNumber)
setIncrementalRepetitionNumber.

Parameters:
incrementalRepetitionNumber - Integer, incremental repetition number

getFullBackupJobConfig

public BackupJobConfig getFullBackupJobConfig()
getFullBackupJobConfig.

Returns:
BackupJobConfig return the backup job configuration to full backup

setFullBackupJobConfig

public void setFullBackupJobConfig(BackupJobConfig fullBackupJobConfig)
setFullBackupJobConfig.

Parameters:
fullBackupJobConfig - BackupJobConfig the backup job configuration to full backup

getIncrementalBackupJobConfig

public BackupJobConfig getIncrementalBackupJobConfig()
getIncrementalBackupJobConfig.

Returns:
BackupJobConfig return the backup job configuration to incremental backup

setIncrementalBackupJobConfig

public void setIncrementalBackupJobConfig(BackupJobConfig incrementalBackupJobConfig)
setIncrementalBackupJobConfig.

Parameters:
incrementalBackupJobConfig - BackupJobConfig the backup job configuration to incremental backup

eXo JCR :: Component :: Extension Service 1.16.0-CR2

Copyright © 2014 eXo Platform SAS. All Rights Reserved.