public class RemoteVersionFactory
extends java.lang.Object
RemoteVersionFactory
generates Version
objects that
represents the release information for the latest release available
on a remote server.
Along with gathering release information from the remote server, this class also uploads the local SDK release information to the remote server.
Constructor and Description |
---|
RemoteVersionFactory(Version localVersion,
java.lang.String server,
boolean secure)
Creates a
RemoteVersionFactory that will upload localVersion to server and download the latest release
information. |
Modifier and Type | Method and Description |
---|---|
Version |
getVersion() |
public RemoteVersionFactory(Version localVersion, java.lang.String server, boolean secure)
RemoteVersionFactory
that will upload localVersion
to server
and download the latest release
information.secure
- if true
, connect to the server
using https, otherwise connect with http.public Version getVersion()