public class UpdateCheckRequest extends Object
Constructor and Description |
---|
UpdateCheckRequest(String machineId,
String instanceId,
String osName,
String osVersion,
String osArch,
String jvmVersion,
String jvmVendor,
String kotlinVersion,
List<Artifact> libraries)
Constructs an
UpdateCheckRequest with the given machineId , instanceId , osName ,
osVersion , osArch , jvmVersion , jvmVendor , kotlinVersion , and
libraries . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
String |
instanceId()
Returns the instance identifier of this update check request.
|
String |
jvmVendor()
Returns the JVM vendor of this update check request.
|
String |
jvmVersion()
Returns the JVM version of this update check request.
|
String |
kotlinVersion()
Returns the kotlin version of this update check request.
|
List<Artifact> |
libraries()
Returns the collection of
libraries of this update check request. |
String |
machineId()
Returns the machine identifier of this update check request.
|
String |
osArch()
Returns the operating system architecture of this update check request.
|
String |
osName()
Returns the operating system name of this update check request.
|
String |
osVersion()
Returns the operating system version of this update check request.
|
String |
toQueryString()
Converts the usage request into a query string format suitable for HTTP requests.
|
String |
toString() |
String |
toUserAgent()
Converts the usage request into a user agent string format.
|
public UpdateCheckRequest(String machineId, String instanceId, String osName, String osVersion, String osArch, String jvmVersion, String jvmVendor, String kotlinVersion, List<Artifact> libraries)
UpdateCheckRequest
with the given machineId
, instanceId
, osName
,
osVersion
, osArch
, jvmVersion
, jvmVendor
, kotlinVersion
, and
libraries
.machineId
- The unique identifier for the machine. This is a UUID that is generated and stored in the
user's home directory.instanceId
- The unique identifier for the instance of the application. This is a UUID that is generated
for each JVM instance.osName
- The name of the operating system (e.g., "Linux", "Windows").osVersion
- The version of the operating system (e.g., "6.11.0-26-generic").osArch
- The architecture of the operating system (e.g., "amd64", "x86_64").jvmVersion
- The version of the Java Virtual Machine (JVM) (e.g., "17.0.2").jvmVendor
- The vendor of the JVM (e.g., "AdoptOpenJDK", "Oracle").kotlinVersion
- The version of Kotlin used in the application, or "none" if Kotlin is not used.libraries
- A list of library versions used in the application, each represented by a Artifact
object containing the group ID, artifact ID, and version of the library.public String machineId()
public String instanceId()
public String osName()
public String osVersion()
public String osArch()
public String jvmVersion()
public String jvmVendor()
public String kotlinVersion()
public List<Artifact> libraries()
libraries
of this update check request.libraries
of this update check request.public String toQueryString()
public String toUserAgent()
Copyright © 2010–2025. All rights reserved.