Interface ProjectsImportTask
-
public interface ProjectsImportTask
Represents one task for import projects.- Since:
- 9.0
- Author:
- Dmitry Treskunov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
cancel()
If task was started - then it will be interrupted.ConflictsProvider
getConflictsProvider()
Can be used to obtain conflicts between entities in the imported archive and entities existing on the server.ArchiveInfo
getImportedArchiveInfo()
Get info about archive used in this task.ImportedConfigsModel
getProjectsModel()
Get projects available in this import task.ImportedUsersModel
getUsersModel()
Get users available for import in this task.ProjectsImportProcess
start(ImportScope.Builder settings)
Start import asynchronously.
-
-
-
Method Detail
-
getProjectsModel
@NotNull ImportedConfigsModel getProjectsModel()
Get projects available in this import task.
-
getUsersModel
@NotNull ImportedUsersModel getUsersModel()
Get users available for import in this task.
-
getImportedArchiveInfo
@NotNull ArchiveInfo getImportedArchiveInfo()
Get info about archive used in this task.
-
getConflictsProvider
@NotNull ConflictsProvider getConflictsProvider()
Can be used to obtain conflicts between entities in the imported archive and entities existing on the server.
-
start
@NotNull ProjectsImportProcess start(@NotNull ImportScope.Builder settings)
Start import asynchronously.
-
cancel
void cancel()
If task was started - then it will be interrupted. If not - all resources will be cleaned up.
-
-