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

All Superinterfaces:
java.lang.Runnable
All Known Implementing Classes:
AbstractBackupJob, AbstractFullBackupJob, AbstractIncrementalBackupJob, FullBackupJob, IncrementalBackupJob

public interface BackupJob
extends java.lang.Runnable

Created by The eXo Platform SARL .

Version:
$Id: BackupJob.java 35186 2009-08-07 14:23:43Z pnedonosko $
Author:
Gennady Azarenkov

Field Summary
static int FINISHED
           
static int FULL
           
static int INCREMENTAL
           
static int STARTING
           
static int WAITING
           
static int WORKING
           
 
Method Summary
 void addListener(BackupJobListener listener)
           
 int getId()
           
 int getState()
           
 java.net.URL getStorageURL()
           
 int getType()
          FULL or INCREMENTAL
 void init(ManageableRepository repository, java.lang.String workspaceName, BackupConfig config, java.util.Calendar timeStamp)
           
 void removeListener(BackupJobListener listener)
           
 void stop()
           
 
Methods inherited from interface java.lang.Runnable
run
 

Field Detail

FULL

static final int FULL
See Also:
Constant Field Values

INCREMENTAL

static final int INCREMENTAL
See Also:
Constant Field Values

STARTING

static final int STARTING
See Also:
Constant Field Values

WAITING

static final int WAITING
See Also:
Constant Field Values

WORKING

static final int WORKING
See Also:
Constant Field Values

FINISHED

static final int FINISHED
See Also:
Constant Field Values
Method Detail

getType

int getType()
FULL or INCREMENTAL

Returns:

getState

int getState()

getId

int getId()

getStorageURL

java.net.URL getStorageURL()
                           throws BackupOperationException
Throws:
BackupOperationException

stop

void stop()

init

void init(ManageableRepository repository,
          java.lang.String workspaceName,
          BackupConfig config,
          java.util.Calendar timeStamp)

addListener

void addListener(BackupJobListener listener)

removeListener

void removeListener(BackupJobListener listener)


Copyright © 2010 eXo Platform SAS. All Rights Reserved.