@OpenApiAll
public class ProjectMapHelper
extends java.lang.Object
| Constructor and Description |
|---|
ProjectMapHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
exportProjectMapToModel(java.lang.String sourceProjectName,
java.lang.String sourceProjectVersion,
ProgressStatus progressStatus)
Exports project map to model by given source project name and version number.
|
static void |
exportProjectMapToModel(java.lang.String sourceProjectName,
java.lang.String sourceProjectVersion,
java.lang.String modelProjectID,
ProgressStatus progressStatus)
Exports project map to model by given source project name and version number.
|
static void |
exportRepositoryMapToModel(ProgressStatus progressStatus)
Exports repository map to model.
|
static void |
exportRepositoryMapToModel(java.lang.String modelProjectID,
ProgressStatus progressStatus)
Exports repository map to model.
|
public static void exportRepositoryMapToModel(@CheckForNull
ProgressStatus progressStatus)
throws java.rmi.RemoteException,
com.nomagic.ci.persistence.PersistenceException
progressStatus - instance of ProgressStatus may be null.java.rmi.RemoteExceptioncom.nomagic.ci.persistence.PersistenceExceptionjava.lang.IllegalArgumentException - if project with given name was not found in server.public static void exportRepositoryMapToModel(@Nonnull
java.lang.String modelProjectID,
@CheckForNull
ProgressStatus progressStatus)
throws java.rmi.RemoteException,
com.nomagic.ci.persistence.PersistenceException
modelProjectID - id which will be given to exported model.progressStatus - instance of ProgressStatus may be null.java.rmi.RemoteExceptioncom.nomagic.ci.persistence.PersistenceExceptionpublic static void exportProjectMapToModel(@Nonnull
java.lang.String sourceProjectName,
@CheckForNull
java.lang.String sourceProjectVersion,
@CheckForNull
ProgressStatus progressStatus)
throws java.rmi.RemoteException,
com.nomagic.ci.persistence.PersistenceException,
com.nomagic.magicdraw.visualization.projectsmap.model.ProjectAccessDeniedException
sourceProjectName - name of project which is in server.sourceProjectVersion - project version number or null if we want to export the latest version of project.progressStatus - instance of ProgressStatus may be null.java.rmi.RemoteExceptioncom.nomagic.ci.persistence.PersistenceExceptionjava.lang.SecurityException - if user do not have permission to read model.java.lang.IllegalArgumentException - if project with given name was not found in server.com.nomagic.magicdraw.visualization.projectsmap.model.ProjectAccessDeniedExceptionpublic static void exportProjectMapToModel(@Nonnull
java.lang.String sourceProjectName,
@CheckForNull
java.lang.String sourceProjectVersion,
@Nonnull
java.lang.String modelProjectID,
@CheckForNull
ProgressStatus progressStatus)
throws java.rmi.RemoteException,
com.nomagic.ci.persistence.PersistenceException,
com.nomagic.magicdraw.visualization.projectsmap.model.ProjectAccessDeniedException
sourceProjectName - name of project which is in server.sourceProjectVersion - project version number or null if we want to export the latest version of project.modelProjectID - id which will be given to exported model.progressStatus - instance of ProgressStatus may be null.java.rmi.RemoteExceptioncom.nomagic.ci.persistence.PersistenceExceptionjava.lang.SecurityException - if user do not have permission to read model.com.nomagic.magicdraw.visualization.projectsmap.model.ProjectAccessDeniedException