Interface OptionalLibrary

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getDescription()
      Description of the library.
      java.nio.file.Path getJar()
      Location of the jar file.
      java.lang.String getLocalJarPath()
      Path to the library jar file relative to the libs directory in the package.
      java.lang.String getName()
      The name of the library, as used in the manifest (<uses-library>).
      boolean isManifestEntryRequired()
      Whether the library requires a manifest entry
    • Method Detail

      • getName

        @NonNull
        java.lang.String getName()
        The name of the library, as used in the manifest (<uses-library>).
      • getJar

        @Nullable
        java.nio.file.Path getJar()
        Location of the jar file. Should never be null when retrieved from a target, but may be in some cases when retrieved from an DetailsTypes.AddonDetailsType.
      • getDescription

        @NonNull
        java.lang.String getDescription()
        Description of the library.
      • isManifestEntryRequired

        boolean isManifestEntryRequired()
        Whether the library requires a manifest entry
      • getLocalJarPath

        @Nullable
        java.lang.String getLocalJarPath()
        Path to the library jar file relative to the libs directory in the package. Can be null when retrieved from a LocalPackage that was installed from a legacy source.