Interface ModuleImport

    • Method Detail

      • getModuleName

        default @NonNull String getModuleName()
        Returns the name of the module to import.
        Returns:
        Name of the module to import
      • getRevision

        Optional<Revision> getRevision()
        Returns the module revision to import. May be null.
        Returns:
        Revision of module to import
      • getSemanticVersion

        @Deprecated(since="8.0.4",
                    forRemoval=true)
        Optional<SemVer> getSemanticVersion()
        Deprecated, for removal: This API element is subject to removal in a future version.
        Semantic version imports are deprecated.
        Returns the semantic version to import.
        Returns:
        Semantic version of module to import
      • getPrefix

        @NonNull String getPrefix()
        Returns the prefix associated with the imported module.
        Returns:
        Prefix used to point to imported module