@OpenApiAll
public class ProjectModule
extends java.lang.Object
IAttachedProject
.Constructor and Description |
---|
ProjectModule(IAttachedProject attachedProject) |
Modifier and Type | Method and Description |
---|---|
boolean |
equalsIgnoreVersion(ProjectDescriptor module) |
IAttachedProject |
getAttachedProject()
Get real attached project.
|
AbstractProjectAttachmentConfiguration |
getAttachmentConfiguration()
Get attachmentConfiguration of attached project
|
AutoLoadKind |
getAutoLoadType()
Return load kind of attached project
|
Project |
getBelongsTo()
Returns MagicDraw project for attached project.
|
java.lang.String |
getDescription()
Get attached project description.
|
XmiExporterDescription |
getExporterDescription()
Provide information about project version and required resources/plugins for attached project.
|
java.lang.String |
getLatestVersion()
Get latest version of attached project.
|
java.util.Collection<com.nomagic.ci.persistence.mounting.IMountPoint> |
getMounts()
Gets mount points for attached project, i.e.
|
java.lang.String |
getName()
Get attached project name
|
ProjectOptions |
getOptions()
Get attached project options.
|
ProjectVersion |
getProjectVersion()
Return project version of attached project.
|
java.lang.String |
getRemoteID()
Return remote id for an attached project
|
java.lang.String |
getRepresentationString()
Return user friendly representation string about attached project
|
java.lang.String |
getRequiredVersion()
Get required version of attached project.
|
StyleManager |
getStyleManager()
Style manager of an attached project
|
java.util.List<java.lang.String> |
getTags()
Return a list of version tags.
|
java.net.URI |
getURI()
Convert EMF uri to java.net.URI
|
java.lang.String |
getUsedVersion()
Get used version of attached project.
|
long |
getVersion()
Get project version number.
|
java.util.List<ProjectVersion> |
getVersionList()
Return list of project version of attached project.
|
java.util.List<ProjectVersion> |
getVersions()
Return list of project version of attached project.
|
java.util.List<ProjectVersion> |
getVersions(java.lang.String sortType)
Return list of project version of attached project.
The result will be sorted by specified sortType. |
boolean |
isDirty() |
boolean |
isEditable()
Gets attachment mode
|
boolean |
isLatest()
Return true if the attached project is latest version.
|
boolean |
isLoaded()
Check if attached project is loaded.
|
boolean |
isLoadIndex()
Check if to load index.
|
boolean |
isLocked()
Check if attached project is loaded from old format file and can not be edited in
current project.
|
boolean |
isManualUnloaded()
Load mode of the attached project, loaded manually if true.
|
boolean |
isRemote()
Check if an attached project is remote - from teamwork server or TW Cloud.
|
public ProjectModule(IAttachedProject attachedProject)
public IAttachedProject getAttachedProject()
IAttachedProject
.public AbstractProjectAttachmentConfiguration getAttachmentConfiguration()
AbstractProjectAttachmentConfiguration
public java.lang.String getName()
public boolean isLoaded()
public AutoLoadKind getAutoLoadType()
attachment
- attachmentpublic boolean isLoadIndex()
configuration
- attachment configuration.public boolean isManualUnloaded()
public java.util.Collection<com.nomagic.ci.persistence.mounting.IMountPoint> getMounts()
null
set of mount points
for specific projectpublic java.lang.String getDescription()
public boolean isLocked()
public java.lang.String getUsedVersion()
public java.lang.String getLatestVersion()
public long getVersion()
public java.lang.String getRequiredVersion()
public boolean isLatest()
public boolean equalsIgnoreVersion(ProjectDescriptor module)
public java.util.List<java.lang.String> getTags()
public boolean isEditable()
public Project getBelongsTo()
Project
public java.lang.String getRemoteID()
public java.net.URI getURI()
public boolean isRemote()
public StyleManager getStyleManager()
public ProjectOptions getOptions()
public boolean isDirty()
public java.lang.String getRepresentationString()
public XmiExporterDescription getExporterDescription()
public ProjectVersion getProjectVersion()
ProjectVersion
of attached projectpublic java.util.List<ProjectVersion> getVersionList()
ProjectVersion
of attached projectpublic java.util.List<ProjectVersion> getVersions()
ProjectVersion
of attached projectpublic java.util.List<ProjectVersion> getVersions(java.lang.String sortType)
sortType
- type of sorting. Specify "desc" sort in descending order. Default is ascending sort.ProjectVersion
of attached project