Library@Deprecated public class OptionalLibraryImpl extends java.lang.Object implements OptionalLibrary
| Constructor and Description |
|---|
OptionalLibraryImpl(java.lang.String libraryName,
java.io.File jarFile,
java.lang.String description,
boolean requireManifestEntry)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o)
Deprecated.
|
java.lang.String |
getDescription()
Deprecated.
Description of the library.
|
java.io.File |
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.
|
public OptionalLibraryImpl(@NonNull
java.lang.String libraryName,
@NonNull
java.io.File jarFile,
@NonNull
java.lang.String description,
boolean requireManifestEntry)
@NonNull public java.lang.String getName()
OptionalLibrarygetName in interface OptionalLibrary@NonNull public java.io.File getJar()
OptionalLibrarynull when retrieved from a target, but may
be in some cases when retrieved from an DetailsTypes.AddonDetailsType.getJar in interface OptionalLibrary@NonNull public java.lang.String getDescription()
OptionalLibrarygetDescription in interface OptionalLibrarypublic boolean isManifestEntryRequired()
OptionalLibraryisManifestEntryRequired in interface OptionalLibrary@Nullable public java.lang.String getLocalJarPath()
OptionalLibrarylibs directory in the package. Can be
null when retrieved from a LocalPackage that was installed from a legacy
source.getLocalJarPath in interface OptionalLibrarypublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object