Class SdkInfo

  • java.lang.Object

  • public class SdkInfo
    extends java.lang.Object
    Retrieves installation information for the App Engine SDK.
    • Field Summary

      Modifier and Type Field and Description
      static java.lang.String SDK_ROOT_PROPERTY 
    • Constructor Summary

      Constructor and Description
    • Field Detail


        public static final java.lang.String SDK_ROOT_PROPERTY
        See Also:
        Constant Field Values
    • Constructor Detail

      • SdkInfo

        public SdkInfo()
    • Method Detail

      • getSharedLibs

        public static java.util.List<> getSharedLibs()
        Returns the full paths of all shared libraries for the SDK. Users should compile against these libraries, but not bundle them with their web application. These libraries are already included as part of the App Engine runtime.
      • getSharedLibFiles

        public static java.util.List<> getSharedLibFiles()
        Returns the paths of all shared libraries for the SDK.
      • getUserLibs

        public static java.util.List<> getUserLibs()
        Deprecated. Use getOptionalUserLibs() instead.
      • getUserLibFiles

        public static java.util.List<> getUserLibFiles()
        Deprecated. Use getOptionalUserLibs() instead.
      • getOptionalUserLibs

        public static java.util.Collection<> getOptionalUserLibs()
        Returns all optional user libraries for the SDK. Users who opt to use these libraries should both compile against and deploy them in the WEB-INF/lib folder of their web applications.
      • getOptionalUserLib

        public static getOptionalUserLib(java.lang.String name)
      • getOptionalToolsLibs

        public static java.util.Collection<> getOptionalToolsLibs()
        Returns all optional tools libraries for the SDK.
      • getOptionalToolsLib

        public static getOptionalToolsLib(java.lang.String name)
      • getSdkRoot

        public static getSdkRoot()
        Returns the path to the root of the SDK.
      • setSdkRoot

        public static void setSdkRoot( root)
        Explicitly specifies the path to the root of the SDK. This takes precedence over the appengine.sdk.root system property, but must be called before any other methods in this class.
        java.lang.IllegalStateException - If any other methods have already been called.
      • getLocalVersion

        public static Version getLocalVersion()
      • getDefaultServer

        public static java.lang.String getDefaultServer()
      • includeTestingJarOnSharedPath

        public static void includeTestingJarOnSharedPath(boolean val)
        If true, the testing jar will be added to the shared libs. This is intended for use by frameworks that want to run tests inside the isolated classloader.
        val - Whether or the testing jar should be included on the shared path.