Class AppVersion

java.lang.Object
com.google.apphosting.runtime.AppVersion

public class AppVersion extends Object
AppVersion encapsulates the configuration information associated with one version of a particular application. Do not construct a AppVersion directly, instead use AppVersionFactory.
See Also:
  • Method Details

    • builder

      public static AppVersion.Builder builder()
      Return a builder for an AppVersion instance.
    • getKey

      public AppVersionKey getKey()
      Returns the AppVersionKey that can be used as an identifier for this AppVersion.
    • getRootDirectory

      public File getRootDirectory()
      Returns the top-level directory under which all application version resource files are made available.
    • getClassLoader

      public ClassLoader getClassLoader()
      Returns the custom ClassLoader that will safely load classes and resource files that were published along with this application version.
    • getEnvironment

      public ApplicationEnvironment getEnvironment()
      Returns the environment which was configured for the application.
    • getSessionsConfig

      public SessionsConfig getSessionsConfig()
    • isResourceFile

      public boolean isResourceFile(String path)
      Returns true if path is a resource file that was uploaded as part of this application.
    • isStaticFile

      public boolean isStaticFile(String path)
      Returns true if path is a static file that was uploaded to BlobStore for use by this application.
    • getPublicRoot

      public String getPublicRoot()
      Returns the parent directory for all static and resource files.
    • getThreadGroupPool

      public ThreadGroupPool getThreadGroupPool()