public class RemoteVersionList extends Object implements Serializable
| Constructor and Description |
|---|
RemoteVersionList(String latestSnapshot,
String latestRelease,
Map<String,RemoteVersion> versions)
Constructor of RemoteVersionList.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static RemoteVersionList |
fromJson(org.json.JSONObject json) |
String |
getLatestRelease()
Gets the version of the latest release.
|
String |
getLatestSnapshot()
Gets the version of the latest snapshot.
|
Map<String,RemoteVersion> |
getVersions()
Gets all the versions.
|
int |
hashCode() |
String |
toString() |
public RemoteVersionList(String latestSnapshot, String latestRelease, Map<String,RemoteVersion> versions)
latestSnapshot - the version of the latest snapshotlatestRelease - the version of the latest releaseversions - the versionsNullPointerException - versions==nullpublic static RemoteVersionList fromJson(org.json.JSONObject json) throws org.json.JSONException, ParseException
org.json.JSONExceptionParseExceptionpublic String getLatestSnapshot()
public String getLatestRelease()
public Map<String,RemoteVersion> getVersions()
Copyright © 2016. All rights reserved.