Package com.android.repository.impl.meta
Class Archive.PatchType
- java.lang.Object
-
- com.android.repository.impl.meta.Archive.ArchiveFile
-
- com.android.repository.impl.meta.Archive.PatchType
-
- Enclosing class:
- Archive
public abstract static class Archive.PatchType extends Archive.ArchiveFile
A binary diff from a previous package version to this one. TODO: it's too bad that the code from CompleteType must be duplicated here. Refactor.
-
-
Constructor Summary
Constructors Constructor Description PatchType()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract RevisionTypegetBasedOn()Returns the source revision for this patch.voidsetBasedOn(RevisionType revision)Sets the source revision for this patch.-
Methods inherited from class com.android.repository.impl.meta.Archive.ArchiveFile
getLegacyChecksum, getSize, getTypedChecksum, getUrl, setLegacyChecksum, setSize, setTypedChecksum, setUrl
-
-
-
-
Method Detail
-
getBasedOn
@NonNull public abstract RevisionType getBasedOn()
Returns the source revision for this patch.
-
setBasedOn
public void setBasedOn(@NonNull RevisionType revision)Sets the source revision for this patch.
-
-