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 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

      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