Notice: Over the next few months, we're reorganizing the App Engine documentation site to make it easier to find content and better align with the rest of Google Cloud products. The same content will be available, but the navigation will now match the rest of the Cloud products. If you have feedback or questions as you navigate the site, click Send Feedback.

RemoteVersionFactory

com.google.appengine.tools.info

Class RemoteVersionFactory

  • java.lang.Object
    • com.google.appengine.tools.info.RemoteVersionFactory


  • 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 Summary

      Constructors 
      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.
    • Constructor Detail

      • RemoteVersionFactory

        public RemoteVersionFactory(Version localVersion,
                                    java.lang.String server,
                                    boolean secure)
        Creates a RemoteVersionFactory that will upload localVersion to server and download the latest release information.
        Parameters:
        secure - if true, connect to the server using https, otherwise connect with http.
    • Method Detail

      • getVersion

        public Version getVersion()