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

org.exoplatform.services.jcr.ext.backup
Interface BackupChain

All Superinterfaces:
RepositoryBackupChain
All Known Implementing Classes:
BackupChainImpl

public interface BackupChain
extends RepositoryBackupChain

Created by The eXo Platform SAS. Author : Alex Reshetnyak alex.reshetnyak@exoplatform.com.ua 09.01.2008


Field Summary
static int FULL_WORKING
          The full backup state.
static int INCREMENTAL_WORKING
          The full + incremental backup state.
static long TIMEOUT
          The timeout.
 
Fields inherited from interface org.exoplatform.services.jcr.ext.backup.RepositoryBackupChain
FINISHED, FULL_BACKUP_FINISHED_INCREMENTAL_BACKUP_WORKING, INITIALIZED, WORKING
 
Method Summary
 void addListener(BackupJobListener listener)
          Add listener to all existing and will be created in future jobs.
 BackupConfig getBackupConfig()
          Getting backup config.
 List<BackupJob> getBackupJobs()
          Getting current backup jobs.
 int getFullBackupState()
          Getting the state of full backup.
 int getIncrementalBackupState()
          Getting the state of incremental backup.
 void removeListener(BackupJobListener listener)
          Remove listener from all existing and don't add it to a created in future jobs.
 
Methods inherited from interface org.exoplatform.services.jcr.ext.backup.RepositoryBackupChain
getBackupId, getLogFilePath, getStartedTime, getState, isFinished, startBackup, stopBackup
 

Field Detail

FULL_WORKING

static final int FULL_WORKING
The full backup state.

See Also:
Constant Field Values

INCREMENTAL_WORKING

static final int INCREMENTAL_WORKING
The full + incremental backup state.

See Also:
Constant Field Values

TIMEOUT

static final long TIMEOUT
The timeout.

See Also:
Constant Field Values
Method Detail

getBackupJobs

List<BackupJob> getBackupJobs()
Getting current backup jobs.

Returns:
List return list of current backup jobs.

getBackupConfig

BackupConfig getBackupConfig()
Getting backup config.

Specified by:
getBackupConfig in interface RepositoryBackupChain
Returns:
BackupConfig return the backup config

getFullBackupState

int getFullBackupState()
Getting the state of full backup.

Returns:
int return state of full backup

getIncrementalBackupState

int getIncrementalBackupState()
Getting the state of incremental backup.

Returns:
int return state of full backup

addListener

void addListener(BackupJobListener listener)
Add listener to all existing and will be created in future jobs.

Parameters:
listener - BackupJobListener, the backup job listener

removeListener

void removeListener(BackupJobListener listener)
Remove listener from all existing and don't add it to a created in future jobs.

Parameters:
listener - BackupJobListener, the backup job listener

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

Copyright © 2014 eXo Platform SAS. All Rights Reserved.