Package com.android.repository.impl.meta
Class RevisionType
- java.lang.Object
-
- com.android.repository.impl.meta.RevisionType
-
- Direct Known Subclasses:
RevisionType,RevisionType
public abstract class RevisionType extends java.lang.ObjectSuperclass for xjc-generated revision class. Probably shouldn't be needed outside the repository framework: normallyRevisionshould be used.
-
-
Constructor Summary
Constructors Constructor Description RevisionType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetMajor()The major component of the revision.java.lang.IntegergetMicro()The micro component of the revision, or null if unspecified.java.lang.IntegergetMinor()The minor component of the revision, or null if unspecified.java.lang.IntegergetPreview()The preview component of the revision, or null if unspecified.voidsetMajor(int major)voidsetMicro(java.lang.Integer micro)voidsetMinor(java.lang.Integer minor)voidsetPreview(java.lang.Integer preview)RevisiontoRevision()Convenience method to convert this into aRevision.
-
-
-
Method Detail
-
getMajor
public int getMajor()
The major component of the revision.
-
getMinor
@Nullable public java.lang.Integer getMinor()
The minor component of the revision, or null if unspecified.
-
getMicro
@Nullable public java.lang.Integer getMicro()
The micro component of the revision, or null if unspecified.
-
getPreview
@Nullable public java.lang.Integer getPreview()
The preview component of the revision, or null if unspecified. TODO: This segment might need to be more flexible.
-
setMajor
public void setMajor(int major)
-
setMinor
public void setMinor(@Nullable java.lang.Integer minor)
-
setMicro
public void setMicro(@Nullable java.lang.Integer micro)
-
setPreview
public void setPreview(@Nullable java.lang.Integer preview)
-
-