com.google.appengine.tools.info
Class RemoteVersionFactory
- java.lang.Object
-
- com.google.appengine.tools.info.RemoteVersionFactory
-
public class RemoteVersionFactory extends java.lang.Object
RemoteVersionFactory
generatesVersion
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 Summary
Constructors Constructor and Description RemoteVersionFactory(Version localVersion, java.lang.String server, boolean secure)
Creates aRemoteVersionFactory
that will uploadlocalVersion
toserver
and download the latest release information.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Version
getVersion()
-
-
-
Constructor Detail
-
RemoteVersionFactory
public RemoteVersionFactory(Version localVersion, java.lang.String server, boolean secure)
Creates aRemoteVersionFactory
that will uploadlocalVersion
toserver
and download the latest release information.- Parameters:
secure
- iftrue
, connect to theserver
using https, otherwise connect with http.
-
-
Method Detail
-
getVersion
public Version getVersion()
-
-