Class RepositoryBackupConfig
java.lang.Object
org.exoplatform.services.jcr.ext.backup.RepositoryBackupConfig
- Direct Known Subclasses:
BackupConfig
Created by The eXo Platform SAS.
Date: 2010
Date: 2010
- Version:
- $Id$
- Author:
- Alex Reshetnyak
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGetting backup directory.intGetting the backup type.intGetting incremental job period (the repetition period).longGetting incremental job period.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.
-
Constructor Details
-
RepositoryBackupConfig
public RepositoryBackupConfig()
-
-
Method Details
-
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
Getting the repository name.- Returns:
- String return the repository name
-
setRepository
Setting the repository name.- Parameters:
repository- String, the repository name
-
getBackupDir
Getting backup directory.- Returns:
- File return c
-
setBackupDir
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
-