public class AppVersion extends Object implements CloudDebuggerCallback
AppVersion encapsulates the configuration information
associated with one version of a particular application. Do not
construct a AppVersion directly, instead use AppVersionFactory.AppVersionFactory,
AppVersionKey| Modifier and Type | Class and Description |
|---|---|
static class |
AppVersion.Builder
Builder for AppVersion.
|
CloudDebuggerCallback.ClassType| Modifier and Type | Method and Description |
|---|---|
static AppVersion.Builder |
builder()
Return a builder for an AppVersion instance.
|
ClassLoader |
getClassLoader()
Returns the custom
ClassLoader that will safely load
classes and resource files that were published along with this
application version. |
CloudDebuggerCallback.ClassType |
getClassType(Class<?> cls)
Classifies Java class.
|
ApplicationEnvironment |
getEnvironment()
Returns the environment which was configured for the application.
|
AppVersionKey |
getKey()
Returns the
AppVersionKey that can be used as an
identifier for this AppVersion. |
String |
getPublicRoot()
Returns the parent directory for all static and resource files.
|
File |
getRootDirectory()
Returns the top-level directory under which all application
version resource files are made available.
|
SessionsConfig |
getSessionsConfig() |
com.google.apphosting.base.protos.SourceContext |
getSourceContext() |
ThreadGroupPool |
getThreadGroupPool() |
boolean |
isResourceFile(String path)
Returns true if
path is a resource file that was uploaded
as part of this application. |
boolean |
isStaticFile(String path)
Returns true if
path is a static file that was uploaded
to BlobStore for use by this application. |
public static AppVersion.Builder builder()
public AppVersionKey getKey()
AppVersionKey that can be used as an
identifier for this AppVersion.public File getRootDirectory()
public ClassLoader getClassLoader()
ClassLoader that will safely load
classes and resource files that were published along with this
application version.public ApplicationEnvironment getEnvironment()
public SessionsConfig getSessionsConfig()
public boolean isResourceFile(String path)
path is a resource file that was uploaded
as part of this application.public boolean isStaticFile(String path)
path is a static file that was uploaded
to BlobStore for use by this application.public String getPublicRoot()
public ThreadGroupPool getThreadGroupPool()
public CloudDebuggerCallback.ClassType getClassType(Class<?> cls)
CloudDebuggerCallbackThe debugger hides or shows local variables and fields based on the class classification.
getClassType in interface CloudDebuggerCallbackpublic com.google.apphosting.base.protos.SourceContext getSourceContext()
Copyright © 2022. All rights reserved.