com.android.sdklib.repositoryv2.targets
Class OptionalLibraryImpl

java.lang.Object
  extended by com.android.sdklib.repositoryv2.targets.OptionalLibraryImpl
All Implemented Interfaces:
IAndroidTarget.OptionalLibrary

Deprecated. in favor of Library

@Deprecated
public class OptionalLibraryImpl
extends java.lang.Object
implements IAndroidTarget.OptionalLibrary

Internal implementation of OptionalLibrary


Constructor Summary
OptionalLibraryImpl(java.lang.String libraryName, java.io.File jarFile, java.lang.String description, boolean requireManifestEntry)
          Deprecated.  
 
Method Summary
 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.  
 
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.io.File jarFile,
                           @NonNull
                           java.lang.String description,
                           boolean requireManifestEntry)
Deprecated. 
Method Detail

getName

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

Specified by:
getName in interface IAndroidTarget.OptionalLibrary

getJar

@NonNull
public java.io.File getJar()
Deprecated. 
Description copied from interface: IAndroidTarget.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 IAndroidTarget.OptionalLibrary

getDescription

@NonNull
public java.lang.String getDescription()
Deprecated. 
Description copied from interface: IAndroidTarget.OptionalLibrary
Description of the library.

Specified by:
getDescription in interface IAndroidTarget.OptionalLibrary

isManifestEntryRequired

public boolean isManifestEntryRequired()
Deprecated. 
Description copied from interface: IAndroidTarget.OptionalLibrary
Whether the library requires a manifest entry

Specified by:
isManifestEntryRequired in interface IAndroidTarget.OptionalLibrary

getLocalJarPath

@Nullable
public java.lang.String getLocalJarPath()
Deprecated. 
Description copied from interface: IAndroidTarget.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 IAndroidTarget.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