Class ClientInfo

  • All Implemented Interfaces:
    java.io.Serializable

    public class ClientInfo
    extends java.lang.Object
    implements java.io.Serializable
    Client application info sent to the update server.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ClientInfo​(java.lang.String application, java.lang.String version, java.lang.String platform, java.lang.String architecture, InstallationType installationType)
      Creates a client application info.
      ClientInfo​(java.lang.String application, java.lang.String version, InstallationType installationType)
      Creates a client application info.
      Platform and architecture are determined from the system properties.
    • Constructor Detail

      • ClientInfo

        public ClientInfo​(java.lang.String application,
                          java.lang.String version,
                          java.lang.String platform,
                          java.lang.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​(java.lang.String application,
                          java.lang.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 Detail

      • getApplication

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

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

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

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

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object