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.
    • Method Detail

      • getModule

        ModuleInfo getModule()
        Get module info.
        Returns:
        module info.
      • isEditable

        boolean isEditable()
      • 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