Class AppInfoFactory
- java.lang.Object
-
- com.google.apphosting.runtime.jetty94.AppInfoFactory
-
public class AppInfoFactory extends Object
Builds AppinfoPb.AppInfo from the given ServletEngineAdapter.Config and environment.
-
-
Constructor Summary
Constructors Constructor Description AppInfoFactory(Map<String,String> env)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.apphosting.base.protos.AppinfoPb.AppInfogetAppInfoFromAppYaml(com.google.apphosting.utils.config.AppYaml appYaml)com.google.apphosting.base.protos.AppinfoPb.AppInfogetAppInfoFromFile(String applicationRoot, String fixedApplicationPath)Creates a AppinfoPb.AppInfo object.com.google.apphosting.base.protos.AppinfoPb.AppInfogetAppInfoWithApiVersion(String apiVersion)StringgetGaeApplication()StringgetGaeService()StringgetGaeServiceVersion()StringgetGaeVersion()
-
-
-
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
-
-