|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.android.sdklib.internal.repository.archives.ArchiveReplacement
public class ArchiveReplacement
Represents an archive that we want to install and the archive that it is going to replace, if any.
| Constructor Summary | |
|---|---|
ArchiveReplacement(Archive newArchive,
Archive replaced)
Creates a new replacement where the newArchive will replace the
currently installed replaced archive. |
|
| Method Summary | |
|---|---|
java.lang.String |
getLongDescription()
Returns the long description of the parent package of the new archive, if not null. |
Archive |
getNewArchive()
Returns the "new archive" to be installed. |
Archive |
getReplaced()
Returns an optional local archive that the new one will replace. |
java.lang.String |
getShortDescription()
Returns the short description of the parent package of the new archive, if not null. |
java.lang.String |
toString()
Returns the short description of the parent package of the new archive, if not null. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ArchiveReplacement(Archive newArchive,
Archive replaced)
newArchive will replace the
currently installed replaced archive.
When newArchive is not intended to replace anything (e.g. because
the user is installing a new package not present on her system yet), then
replace shall be null.
newArchive - A "new archive" to be installed. This is always an archive
that comes from a remote site. This may be null.replaced - An optional local archive that the new one will replace.
Can be null if this archive does not replace anything.| Method Detail |
|---|
public Archive getNewArchive()
public Archive getReplaced()
public java.lang.String getLongDescription()
getLongDescription in interface IDescriptionpublic java.lang.String getShortDescription()
getShortDescription in interface IDescriptionpublic java.lang.String toString()
IDescription
interface.
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||