java.lang.Object
org.tentackle.update.ClientInfo
- All Implemented Interfaces:
Serializable
Client application info sent to the update server.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionClientInfo(String application, String version, String platform, String architecture, InstallationType installationType) Creates a client application info.ClientInfo(String application, String version, InstallationType installationType) Creates a client application info.
Platform and architecture are determined from the system properties. -
Method Summary
Modifier and TypeMethodDescriptionGets the application name.Gets the architecture.Gets the installation type.Gets the client's platform.Gets the application version.toString()
-
Constructor Details
-
ClientInfo
public ClientInfo(String application, String version, String platform, String architecture, InstallationType installationType) Creates a client application info.- Parameters:
application- the client application nameversion- the client application versionplatform- the operating systemarchitecture- the hardware architecture
-
ClientInfo
Creates a client application info.
Platform and architecture are determined from the system properties.- Parameters:
application- the client application nameversion- the client application version
-
-
Method Details
-
getApplication
Gets the application name.- Returns:
- the client application
-
getVersion
Gets the application version.- Returns:
- the version the client application is currently running
-
getPlatform
Gets the client's platform.- Returns:
- the platform
-
getArchitecture
Gets the architecture.- Returns:
- the architecture
-
getInstallationType
Gets the installation type.- Returns:
- the installation type
-
toString
-