Package com.nomagic.magicdraw.diff
Interface ModuleUsageDifference
- All Superinterfaces:
Difference
,DifferenceLocation
Difference when module usage is changed, this can happen when new module is used, module is not
longer used. Modules mounts mounted in different position. If new module version is used it will
be find as remove old module and adding new one.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet module info.Information where packages are mounted.Parent module info.com.nomagic.ci.persistence.versioning.IVersionDescriptor
boolean
boolean
boolean
Is parent editableMethods inherited from interface com.nomagic.magicdraw.diff.DifferenceLocation
getModuleURI
-
Method Details
-
getModule
ModuleInfo getModule()Get module info.- Returns:
- module info.
-
isEditable
boolean isEditable() -
getAutoLoadType
AutoLoadKind getAutoLoadType()- Returns:
- module load type. Check
ProjectUtilities.getAutoLoadKind(com.nomagic.ci.persistence.IProject, com.nomagic.ci.persistence.IProject)
}
-
isLoadIndex
boolean isLoadIndex()- Returns:
- true if module has load index set to true.
-
getStickyVersion
@CheckForNull com.nomagic.ci.persistence.versioning.IVersionDescriptor getStickyVersion()- Returns:
- required version.
-
getModificationKind
ModificationKind getModificationKind()- Returns:
- modification kind.
-
getMounts
Collection<ModuleUsageDifference.Mount> getMounts()Information where packages are mounted. Mount info contains only properly mount id. May be null for remove modification kind.- Returns:
- mount info from contributor project.
-
getParent
Parent module info. When module is used by other module, but not directly in the project. If module is used directly in project parent is null.- Returns:
- parent module info.
-
isParentEditable
boolean isParentEditable()Is parent editable
-