public interface SnapshotJobManager
| Modifier and Type | Field and Description |
|---|---|
static String |
JOB_LAUNCHER_KEY |
static String |
JOB_REPOSITORY_KEY |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.batch.core.BatchStatus |
executeRestoration(String restorationId) |
org.springframework.batch.core.BatchStatus |
executeSnapshot(String snapshotId)
This method creates an underlying job and executes it.
|
org.springframework.batch.core.BatchStatus |
getStatus(String snapshotId) |
void |
init(SnapshotJobManagerConfig duracloudCredential)
Lazily initializes the component.
|
static final String JOB_REPOSITORY_KEY
static final String JOB_LAUNCHER_KEY
void init(SnapshotJobManagerConfig duracloudCredential)
duracloudCredential - org.springframework.batch.core.BatchStatus executeSnapshot(String snapshotId) throws SnapshotException
snapshotId - SnapshotExceptionorg.springframework.batch.core.BatchStatus getStatus(String snapshotId) throws SnapshotNotFoundException, SnapshotException
snapshotId - SnapshotNotFoundExceptionSnapshotExceptionorg.springframework.batch.core.BatchStatus executeRestoration(String restorationId) throws SnapshotException
restorationId - SnapshotExceptionCopyright © 2014–2015 DuraSpace. All rights reserved.