Class AppInfoFactory


  • public class AppInfoFactory
    extends Object
    Builds AppinfoPb.AppInfo from the given ServletEngineAdapter.Config and environment.
    • Constructor Detail

    • Method Detail

      • getGaeService

        public String getGaeService()
      • getGaeVersion

        public String getGaeVersion()
      • getGaeServiceVersion

        public String getGaeServiceVersion()
      • getGaeApplication

        public String getGaeApplication()
      • getAppInfoFromFile

        public com.google.apphosting.base.protos.AppinfoPb.AppInfo getAppInfoFromFile​(String applicationRoot,
                                                                                      String fixedApplicationPath)
                                                                               throws IOException
        Creates a AppinfoPb.AppInfo object.
        Throws:
        IOException
      • getAppInfoFromAppYaml

        public com.google.apphosting.base.protos.AppinfoPb.AppInfo getAppInfoFromAppYaml​(com.google.apphosting.utils.config.AppYaml appYaml)
                                                                                  throws IOException
        Throws:
        IOException
      • getAppInfoWithApiVersion

        public com.google.apphosting.base.protos.AppinfoPb.AppInfo getAppInfoWithApiVersion​(@Nullable
                                                                                            String apiVersion)