AndroidSdkHandler/RepoManager and associated classes instead.@Deprecated public abstract class LocalPkgInfo extends java.lang.Object implements java.lang.Comparable<LocalPkgInfo>
Local package information is retrieved via the LocalSdk object.
Clients should not need to create instances of LocalPkgInfo directly.
Instead please use the LocalSdk methods to parse and retrieve packages.
| Modifier | Constructor and Description |
|---|---|
protected |
LocalPkgInfo(LocalSdk localSdk,
java.io.File localDir,
java.util.Properties sourceProps)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(LocalPkgInfo o)
Deprecated.
Comparison is solely done based on the
IPkgDesc. |
boolean |
equals(java.lang.Object obj)
Deprecated.
Computes object equality to this instance based on the underlying
IPkgDesc but also specific local properties such a local directory,
update available and actual source properties. |
abstract IPkgDesc |
getDesc()
Deprecated.
Returns the
IPkgDesc describing this package. |
java.lang.String |
getListDescription()
Deprecated.
|
java.lang.String |
getLoadError()
Deprecated.
|
java.io.File |
getLocalDir()
Deprecated.
|
LocalSdk |
getLocalSdk()
Deprecated.
|
java.util.Properties |
getSourceProperties()
Deprecated.
|
int |
hashCode()
Deprecated.
Computes a hash code specific to this instance based on the underlying
IPkgDesc but also specific local properties such a local directory,
and actual source properties. |
java.lang.String |
toString()
Deprecated.
String representation for debugging purposes.
|
protected LocalPkgInfo(@NonNull
LocalSdk localSdk,
@NonNull
java.io.File localDir,
@NonNull
java.util.Properties sourceProps)
@NonNull public LocalSdk getLocalSdk()
@NonNull public java.io.File getLocalDir()
@NonNull public java.util.Properties getSourceProperties()
@Nullable public java.lang.String getLoadError()
@NonNull public abstract IPkgDesc getDesc()
IPkgDesc describing this package.public int compareTo(@NonNull
LocalPkgInfo o)
IPkgDesc.
Other local attributes (local directory, source properties)
are not used in the comparison. Consequently compareTo(LocalPkgInfo)
does not match equals(Object) and the hashCode() properties.
compareTo in interface java.lang.Comparable<LocalPkgInfo>public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
IPkgDesc but also specific local properties such a local directory,
and actual source properties.hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
IPkgDesc but also specific local properties such a local directory,
update available and actual source properties. This is different from
the behavior of compareTo(LocalPkgInfo) which only uses the
IPkgDesc for ordering.equals in class java.lang.Object@NonNull public java.lang.String getListDescription()