Package com.nomagic.magicdraw.diff
Interface ModuleUsageDifference
-
- All Superinterfaces:
Difference
,DifferenceLocation
@OpenApiAll public interface ModuleUsageDifference extends 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
Nested Classes Modifier and Type Interface Description static interface
ModuleUsageDifference.Mount
Mount info.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AutoLoadKind
getAutoLoadType()
ModificationKind
getModificationKind()
ModuleInfo
getModule()
Get module info.java.util.Collection<ModuleUsageDifference.Mount>
getMounts()
Information where packages are mounted.ModuleInfo
getParent()
Parent module info.IVersionDescriptor
getStickyVersion()
boolean
isEditable()
boolean
isLoadIndex()
boolean
isParentEditable()
Is parent editable-
Methods inherited from interface com.nomagic.magicdraw.diff.Difference
accept
-
Methods inherited from interface com.nomagic.magicdraw.diff.DifferenceLocation
getModuleURI
-
-
-
-
Method Detail
-
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 IVersionDescriptor getStickyVersion()
- Returns:
- required version.
- See Also:
ProjectUtilitiesInternal.getUsedVersion(AbstractProjectAttachmentConfiguration)
-
getModificationKind
ModificationKind getModificationKind()
- Returns:
- modification kind.
-
getMounts
java.util.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
@CheckForNull ModuleInfo 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
-
-