public abstract class RevisionType
extends java.lang.Object
Revision should be used.| Constructor and Description |
|---|
RevisionType() |
| Modifier and Type | Method and Description |
|---|---|
int |
getMajor()
The major component of the revision.
|
java.lang.Integer |
getMicro()
The micro component of the revision, or null if unspecified.
|
java.lang.Integer |
getMinor()
The minor component of the revision, or null if unspecified.
|
java.lang.Integer |
getPreview()
The preview component of the revision, or null if unspecified.
|
void |
setMajor(int major) |
void |
setMicro(java.lang.Integer micro) |
void |
setMinor(java.lang.Integer minor) |
void |
setPreview(java.lang.Integer preview) |
Revision |
toRevision()
Convenience method to convert this into a
Revision. |
public int getMajor()
@Nullable public java.lang.Integer getMinor()
@Nullable public java.lang.Integer getMicro()
@Nullable public java.lang.Integer getPreview()
public void setMajor(int major)
public void setMinor(@Nullable
java.lang.Integer minor)
public void setMicro(@Nullable
java.lang.Integer micro)
public void setPreview(@Nullable
java.lang.Integer preview)