Library
@Deprecated public class OptionalLibraryImpl extends java.lang.Object implements IAndroidTarget.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()
IAndroidTarget.OptionalLibrary
getName
in interface IAndroidTarget.OptionalLibrary
@NonNull public java.io.File getJar()
IAndroidTarget.OptionalLibrary
null
when retrieved from a target,
but may be in some cases when retrieved from an DetailsTypes.AddonDetailsType
.getJar
in interface IAndroidTarget.OptionalLibrary
@NonNull public java.lang.String getDescription()
IAndroidTarget.OptionalLibrary
getDescription
in interface IAndroidTarget.OptionalLibrary
public boolean isManifestEntryRequired()
IAndroidTarget.OptionalLibrary
isManifestEntryRequired
in interface IAndroidTarget.OptionalLibrary
@Nullable public java.lang.String getLocalJarPath()
IAndroidTarget.OptionalLibrary
libs
directory in the package.
Can be null
when retrieved from a LocalPackage
that was installed from
a legacy source.getLocalJarPath
in interface IAndroidTarget.OptionalLibrary
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object