@ExportedBean public static class UpdateSite.Entry extends Object
Modifier and Type | Field and Description |
---|---|
String |
name
Artifact ID.
|
String |
sourceId
UpdateSite ID. |
String |
url
Download URL.
|
String |
version
The version.
|
Constructor and Description |
---|
Entry(String sourceId,
net.sf.json.JSONObject o) |
Modifier and Type | Method and Description |
---|---|
Api |
getApi() |
String |
getSha1()
The base64 encoded binary SHA-1 checksum of the file.
|
String |
getSha256()
The base64 encoded SHA-256 checksum of the file.
|
String |
getSha512()
The base64 encoded SHA-512 checksum of the file.
|
boolean |
isNewerThan(String currentVersion)
Checks if the specified "current version" is older than the version of this entry.
|
@Exported public final String sourceId
UpdateSite
ID.@Exported public final String name
@Exported public final String version
@Exported public final String url
public Entry(String sourceId, net.sf.json.JSONObject o)
public String getSha1()
public String getSha256()
public String getSha512()
public boolean isNewerThan(String currentVersion)
currentVersion
- The string that represents the version number to be compared.public Api getApi()
Copyright © 2004–2019. All rights reserved.