public interface BackupJob extends Runnable
| Modifier and Type | Field and Description |
|---|---|
static int |
FINISHED
The FINISHED state of job..
|
static int |
FULL
The full backup type of job.
|
static int |
INCREMENTAL
THe incremental backup type of job.
|
static int |
STARTING
The STARTING state of job.
|
static int |
WAITING
The WAITING state of job..
|
static int |
WORKING
The WORKING state of job.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(BackupJobListener listener)
Adding listener.
|
int |
getId()
Getting the id of job.
|
int |
getState()
Getting state of job.
|
URL |
getStorageURL()
Getting storage URL.
|
int |
getType()
Getting the type of job.
|
void |
init(ManageableRepository repository,
String workspaceName,
BackupConfig config,
Calendar timeStamp)
Initialize.
|
void |
removeListener(BackupJobListener listener)
Remove listener.
|
void |
stop()
Call stop of job.
|
static final int FULL
static final int INCREMENTAL
static final int STARTING
static final int WAITING
static final int WORKING
static final int FINISHED
int getType()
int getState()
int getId()
URL getStorageURL() throws BackupOperationException
BackupOperationException - will be generate the exception BackupOperationExceptionvoid stop()
void init(ManageableRepository repository, String workspaceName, BackupConfig config, Calendar timeStamp)
repository - ManageableRepository, the manageable repositoryworkspaceName - String, the workspace nameconfig - BackupConfig, the backup configtimeStamp - Calendar, the time stampvoid addListener(BackupJobListener listener)
listener - BackupJobListener, the job listenervoid removeListener(BackupJobListener listener)
listener - BackupJobListener, the job listenerCopyright © 2019 eXo Platform SAS. All Rights Reserved.