Interface ProjectsImportTask
-
public interface ProjectsImportTaskRepresents one task for import projects.- Since:
- 9.0
- Author:
- Dmitry Treskunov
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcancel()If task was started - then it will be interrupted.ConflictsProvidergetConflictsProvider()Can be used to obtain conflicts between entities in the imported archive and entities existing on the server.ArchiveInfogetImportedArchiveInfo()Get info about archive used in this task.ImportedConfigsModelgetProjectsModel()Get projects available in this import task.ImportedUsersModelgetUsersModel()Get users available for import in this task.ProjectsImportProcessstart(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.
-
-