Class ClientInfo

java.lang.Object
org.tentackle.update.ClientInfo
All Implemented Interfaces:
Serializable

public class ClientInfo extends Object implements Serializable
Client application info sent to the update server.
See Also:
  • 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 name
      version - the client application version
      platform - the operating system
      architecture - the hardware architecture
    • ClientInfo

      public ClientInfo(String application, String version, InstallationType installationType)
      Creates a client application info.
      Platform and architecture are determined from the system properties.
      Parameters:
      application - the client application name
      version - the client application version
  • Method Details

    • getApplication

      public String getApplication()
      Gets the application name.
      Returns:
      the client application
    • getVersion

      public String getVersion()
      Gets the application version.
      Returns:
      the version the client application is currently running
    • getPlatform

      public String getPlatform()
      Gets the client's platform.
      Returns:
      the platform
    • getArchitecture

      public String getArchitecture()
      Gets the architecture.
      Returns:
      the architecture
    • getInstallationType

      public InstallationType getInstallationType()
      Gets the installation type.
      Returns:
      the installation type
    • toString

      public String toString()
      Overrides:
      toString in class Object