public class RemoteVersion extends Object implements Serializable
| Constructor and Description |
|---|
RemoteVersion(String version,
Date uploadTime,
Date releaseTime,
String type,
String url)
Constructor of RemoteVersion.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Date |
getReleaseTime()
Gets the release time.
|
String |
getType()
Gets the type of the version.
|
Date |
getUploadTime()
Gets the upload time.
|
String |
getUrl()
Gets the url of the version json, can be null.
|
String |
getVersion()
Gets the version number.
|
int |
hashCode() |
String |
toString() |
public RemoteVersion(String version, Date uploadTime, Date releaseTime, String type, String url)
version - the version numberuploadTime - the upload timereleaseTime - the release timetype - the version typeurl - the url of the version jsonNullPointerException - if version==nullpublic String getVersion()
public Date getUploadTime()
public Date getReleaseTime()
public String getType()
Return values could be "snapshot", "release", "old_beta", "old_alpha"
public String getUrl()
Copyright © 2016. All rights reserved.