|
eXo JCR :: Component :: Extension Service 1.15.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface BackupJob
Created by The eXo Platform SARL .
| Field Summary | |
|---|---|
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. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from interface java.lang.Runnable |
|---|
run |
| Field Detail |
|---|
static final int FULL
static final int INCREMENTAL
static final int STARTING
static final int WAITING
static final int WORKING
static final int FINISHED
| Method Detail |
|---|
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 listener
|
eXo JCR :: Component :: Extension Service 1.15.0-CR2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||