| com.atlassian.bitbucket.migration.MigrationService |
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Cancels the export job.
| |||||||||||
Cancels the import job.
| |||||||||||
Retrieves the export job.
| |||||||||||
Retrieves the import job.
| |||||||||||
Resolves export items without triggering an export.
| |||||||||||
Finds all
job messages matching the supplied request object for an export job. | |||||||||||
Finds all
job messages matching the supplied request object for an import job. | |||||||||||
Export the repositories specified in the
export request. | |||||||||||
Import the data contained in the archive specified in the
import request. | |||||||||||
Cancels the import job. The currently importing repository will finish importing and then the import will be canceled.
| jobId | the ID of the import job |
|---|
empty() if the import job doesn't exist| IllegalStateException | if the job has been canceled already, or if it had ended |
|---|
Resolves export items without triggering an export.
| request | a request object describing the repositories to be exported |
|---|
Finds all job messages matching the supplied request object for an export job.
| request | the request |
|---|---|
| pageRequest | the page request |
job messages| IllegalArgumentException | if the job ID on the request
is not an export job ID
|
|---|
Finds all job messages matching the supplied request object for an import job.
| request | the request |
|---|---|
| pageRequest | the page request |
job messages| IllegalArgumentException | if the job ID on the request
is not an import job ID
|
|---|
Export the repositories specified in the export request.
| request | a request object describing the repositories to be exported |
|---|
| MaxConcurrentMigrationJobsException | if the maximum number of concurrent migration jobs are already running on this node |
|---|
Import the data contained in the archive specified in the import request.
| request | a request object specifying the archive to import |
|---|
| MaxConcurrentMigrationJobsException | if the maximum number of concurrent migration jobs are already running on this node |
|---|