|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.android.repository.impl.meta.Archive
public abstract class Archive
A downloadable version of a RepoPackage, corresponding to a specific version number, and
optionally host OS, host bitness, JVM version or JVM bitness. Includes a complete version of the
package (Archive.CompleteType), and optionally binary patches from previous revisions to
this one (Archive.PatchType).
Primarily a superclass for xjc-generated JAXB-compatible classes.
| Nested Class Summary | |
|---|---|
static class |
Archive.ArchiveFile
General parent for the actual files referenced in an archive. |
static class |
Archive.CompleteType
Parent for xjc-generated classes containing a complete zip of this archive. |
static class |
Archive.PatchesType
A list of Archive.PatchTypes. |
static class |
Archive.PatchType
A binary diff from a previous package version to this one. |
| Constructor Summary | |
|---|---|
Archive()
|
|
| Method Summary | |
|---|---|
abstract CommonFactory |
createFactory()
Create a CommonFactory corresponding to this instance's SchemaModule.SchemaModuleVersion. |
java.util.List<Archive.PatchType> |
getAllPatches()
Gets all the version-to-version patches for this Archive. |
abstract Archive.CompleteType |
getComplete()
Gets the full zip of this package. |
java.lang.Integer |
getHostBits()
Gets the required host bit size (32 or 64), if any |
java.lang.String |
getHostOs()
Gets the required host OS ("windows", "linux", "macosx"), if any. |
java.lang.Integer |
getJvmBits()
Gets the required JVM bit size (32 or 64), if any |
RevisionType |
getMinJvmVersion()
Gets the minimum JVM version needed for this Archive, if any. |
protected Archive.PatchesType |
getPatches()
Gets the Archive.PatchesType for this Archive. |
boolean |
isCompatible()
|
void |
setComplete(Archive.CompleteType complete)
Sets the full zip of this package. |
void |
setHostBits(java.lang.Integer bits)
Sets the required host bit size (32 or 64), if any. |
void |
setHostOs(java.lang.String os)
Sets the required host OS ("windows", "linux", "macosx"), if any. |
void |
setJvmBits(java.lang.Integer bits)
Sets the required JVM bit size (32 or 64), if any. |
void |
setMinJvmVersion(RevisionType revision)
Sets the minimum JVM version needed for this Archive, if any. |
protected void |
setPatches(Archive.PatchesType patches)
Sets the Archive.PatchesType for this Archive. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Archive()
| Method Detail |
|---|
public boolean isCompatible()
true if this archive is compatible with the current system with respect to
the specified host os, bit size, jvm version, and jvm bit size (if any).@NonNull public abstract Archive.CompleteType getComplete()
public void setComplete(@NonNull
Archive.CompleteType complete)
@Nullable public java.lang.Integer getHostBits()
public void setHostBits(@Nullable
java.lang.Integer bits)
@Nullable public java.lang.Integer getJvmBits()
public void setJvmBits(@Nullable
java.lang.Integer bits)
@Nullable public java.lang.String getHostOs()
public void setHostOs(@Nullable
java.lang.String os)
@NonNull public java.util.List<Archive.PatchType> getAllPatches()
Archive.
@NonNull protected Archive.PatchesType getPatches()
Archive.PatchesType for this Archive. Probably only needed internally.
protected void setPatches(@NonNull
Archive.PatchesType patches)
Archive.PatchesType for this Archive. Probably only needed internally.
@Nullable public RevisionType getMinJvmVersion()
Archive, if any.
public void setMinJvmVersion(@Nullable
RevisionType revision)
Archive, if any.
@NonNull public abstract CommonFactory createFactory()
CommonFactory corresponding to this instance's SchemaModule.SchemaModuleVersion.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||