Class Library

    • Constructor Detail

      • Library

        public Library()
    • Method Detail

      • setPackagePath

        public void setPackagePath​(@NonNull
                                   java.nio.file.Path packagePath)
        Sets the path of the containing package. Must be called before calling getJar().
      • getJar

        @Nullable
        public java.nio.file.Path getJar()
        Absolute path to the library jar file. Will be null when a legacy remote package is installed.
        Specified by:
        getJar in interface OptionalLibrary
      • getName

        @NonNull
        public abstract java.lang.String getName()
        The name of the library.
        Specified by:
        getName in interface OptionalLibrary
      • getDescription

        @NonNull
        public abstract java.lang.String getDescription()
        User-friendly description of the library.
        Specified by:
        getDescription in interface OptionalLibrary
      • isManifestEntryRequired

        public abstract boolean isManifestEntryRequired()
        Whether a manifest entry is required for this library.
        Specified by:
        isManifestEntryRequired in interface OptionalLibrary
      • setLocalJarPath

        public abstract void setLocalJarPath​(java.lang.String path)
      • setDescription

        public abstract void setDescription​(java.lang.String description)
      • setName

        public abstract void setName​(java.lang.String name)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • setManifestEntryRequired

        public abstract void setManifestEntryRequired​(java.lang.Boolean b)