com.android.repository.impl.meta
Class Archive.PatchType

java.lang.Object
  extended by com.android.repository.impl.meta.Archive.ArchiveFile
      extended by com.android.repository.impl.meta.Archive.PatchType
Direct Known Subclasses:
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
Archive.PatchType()
           
 
Method Summary
abstract  RevisionType getBasedOn()
          Gets the source revision for this patch.
protected  void setBasedOn(RevisionType revision)
          Sets the source revision for this patch.
 
Methods inherited from class com.android.repository.impl.meta.Archive.ArchiveFile
getChecksum, getSize, getUrl, setChecksum, setSize, setUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Archive.PatchType

public Archive.PatchType()
Method Detail

getBasedOn

@NonNull
public abstract RevisionType getBasedOn()
Gets the source revision for this patch.


setBasedOn

protected void setBasedOn(@NonNull
                          RevisionType revision)
Sets the source revision for this patch.