Class RepositoryBackupConfig
- java.lang.Object
-
- org.exoplatform.services.jcr.ext.backup.RepositoryBackupConfig
-
- Direct Known Subclasses:
BackupConfig
public class RepositoryBackupConfig extends Object
Created by The eXo Platform SAS.
Date: 2010- Version:
- $Id$
- Author:
- Alex Reshetnyak
-
-
Constructor Summary
Constructors Constructor Description RepositoryBackupConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FilegetBackupDir()Getting backup directory.intgetBackupType()Getting the backup type.intgetIncrementalJobNumber()Getting incremental job period (the repetition period).longgetIncrementalJobPeriod()Getting incremental job period.StringgetRepository()Getting the repository name.voidsetBackupDir(File backupDir)Setting the backup directory.voidsetBackupType(int backupType)Setting the backup type.voidsetIncrementalJobNumber(int incrementalJobNumber)Setting incremental job number (the repetition period).voidsetIncrementalJobPeriod(long incrementalJobPeriod)Setting incremental job period.voidsetRepository(String repository)Setting the repository name.
-
-
-
Method Detail
-
getIncrementalJobPeriod
public long getIncrementalJobPeriod()
Getting incremental job period.- Returns:
- long return incremental job period.
-
setIncrementalJobPeriod
public void setIncrementalJobPeriod(long incrementalJobPeriod)
Setting incremental job period.- Parameters:
incrementalJobPeriod- long, the incremental job period
-
getIncrementalJobNumber
public int getIncrementalJobNumber()
Getting incremental job period (the repetition period).- Returns:
- int return incremental job period
-
setIncrementalJobNumber
public void setIncrementalJobNumber(int incrementalJobNumber)
Setting incremental job number (the repetition period).- Parameters:
incrementalJobNumber- int, the incremental job number
-
getRepository
public String getRepository()
Getting the repository name.- Returns:
- String return the repository name
-
setRepository
public void setRepository(String repository)
Setting the repository name.- Parameters:
repository- String, the repository name
-
getBackupDir
public File getBackupDir()
Getting backup directory.- Returns:
- File return c
-
setBackupDir
public void setBackupDir(File backupDir)
Setting the backup directory.- Parameters:
backupDir- File, the backup directory
-
getBackupType
public int getBackupType()
Getting the backup type.- Returns:
- int return the backup type
-
setBackupType
public void setBackupType(int backupType)
Setting the backup type.- Parameters:
backupType- int, the backup type
-
-