Class OptionalLibraryImpl

  • All Implemented Interfaces:
    OptionalLibrary

    @Deprecated
    public class OptionalLibraryImpl
    extends java.lang.Object
    implements OptionalLibrary
    Deprecated.
    in favor of Library
    Internal implementation of OptionalLibrary
    • Constructor Summary

      Constructors 
      Constructor Description
      OptionalLibraryImpl​(java.lang.String libraryName, java.nio.file.Path jarFile, java.lang.String description, boolean requireManifestEntry)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)
      Deprecated.
       
      java.lang.String getDescription()
      Deprecated.
      Description of the library.
      java.nio.file.Path getJar()
      Deprecated.
      Location of the jar file.
      java.lang.String getLocalJarPath()
      Deprecated.
      Path to the library jar file relative to the libs directory in the package.
      java.lang.String getName()
      Deprecated.
      The name of the library, as used in the manifest (<uses-library>).
      int hashCode()
      Deprecated.
       
      boolean isManifestEntryRequired()
      Deprecated.
      Whether the library requires a manifest entry
      java.lang.String toString()
      Deprecated.
       
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • OptionalLibraryImpl

        public OptionalLibraryImpl​(@NonNull
                                   java.lang.String libraryName,
                                   @NonNull
                                   java.nio.file.Path jarFile,
                                   @NonNull
                                   java.lang.String description,
                                   boolean requireManifestEntry)
        Deprecated.
    • Method Detail

      • getName

        @NonNull
        public java.lang.String getName()
        Deprecated.
        Description copied from interface: OptionalLibrary
        The name of the library, as used in the manifest (<uses-library>).
        Specified by:
        getName in interface OptionalLibrary
      • getJar

        @NonNull
        public java.nio.file.Path getJar()
        Deprecated.
        Description copied from interface: OptionalLibrary
        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.
        Specified by:
        getJar in interface OptionalLibrary
      • getDescription

        @NonNull
        public java.lang.String getDescription()
        Deprecated.
        Description copied from interface: OptionalLibrary
        Description of the library.
        Specified by:
        getDescription in interface OptionalLibrary
      • getLocalJarPath

        @Nullable
        public java.lang.String getLocalJarPath()
        Deprecated.
        Description copied from interface: OptionalLibrary
        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.
        Specified by:
        getLocalJarPath in interface OptionalLibrary
      • equals

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

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

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