Class OptionalLibraryImpl
- java.lang.Object
-
- com.android.sdklib.repository.targets.OptionalLibraryImpl
-
- All Implemented Interfaces:
OptionalLibrary
@Deprecated public class OptionalLibraryImpl extends java.lang.Object implements OptionalLibrary
Deprecated.in favor ofLibraryInternal 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 booleanequals(java.lang.Object o)Deprecated.java.lang.StringgetDescription()Deprecated.Description of the library.java.nio.file.PathgetJar()Deprecated.Location of the jar file.java.lang.StringgetLocalJarPath()Deprecated.Path to the library jar file relative to thelibsdirectory in the package.java.lang.StringgetName()Deprecated.The name of the library, as used in the manifest (<uses-library>).inthashCode()Deprecated.booleanisManifestEntryRequired()Deprecated.Whether the library requires a manifest entryjava.lang.StringtoString()Deprecated.
-
-
-
Method Detail
-
getName
@NonNull public java.lang.String getName()
Deprecated.Description copied from interface:OptionalLibraryThe name of the library, as used in the manifest (<uses-library>).- Specified by:
getNamein interfaceOptionalLibrary
-
getJar
@NonNull public java.nio.file.Path getJar()
Deprecated.Description copied from interface:OptionalLibraryLocation of the jar file. Should never benullwhen retrieved from a target, but may be in some cases when retrieved from anDetailsTypes.AddonDetailsType.- Specified by:
getJarin interfaceOptionalLibrary
-
getDescription
@NonNull public java.lang.String getDescription()
Deprecated.Description copied from interface:OptionalLibraryDescription of the library.- Specified by:
getDescriptionin interfaceOptionalLibrary
-
isManifestEntryRequired
public boolean isManifestEntryRequired()
Deprecated.Description copied from interface:OptionalLibraryWhether the library requires a manifest entry- Specified by:
isManifestEntryRequiredin interfaceOptionalLibrary
-
getLocalJarPath
@Nullable public java.lang.String getLocalJarPath()
Deprecated.Description copied from interface:OptionalLibraryPath to the library jar file relative to thelibsdirectory in the package. Can benullwhen retrieved from aLocalPackagethat was installed from a legacy source.- Specified by:
getLocalJarPathin interfaceOptionalLibrary
-
equals
public boolean equals(java.lang.Object o)
Deprecated.- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
-