Class AppVersion

    • Method Detail

      • builder

        public static AppVersion.Builder builder()
        Return a builder for an AppVersion instance.
      • 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.
      • 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.
      • getSourceContext

        public com.google.apphosting.base.protos.SourceContext getSourceContext()