Package com.google.apphosting.base
Class AppVersionKey
java.lang.Object
com.google.apphosting.base.AppVersionKey
A simple immutable data container class that identifies a single
version of specific application.
Static factory methods are provided to create AppVersionKey's from AppInfo and UPRequests.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AppVersionKey
fromAppInfo
(com.google.apphosting.base.protos.AppinfoPb.AppInfo appInfo) static AppVersionKey
fromUpRequest
(com.google.apphosting.base.protos.RuntimePb.UPRequest request) abstract String
getAppId()
abstract String
static AppVersionKey
final String
toString()
-
Constructor Details
-
AppVersionKey
public AppVersionKey()
-
-
Method Details
-
fromAppInfo
public static AppVersionKey fromAppInfo(com.google.apphosting.base.protos.AppinfoPb.AppInfo appInfo) -
fromUpRequest
public static AppVersionKey fromUpRequest(com.google.apphosting.base.protos.RuntimePb.UPRequest request) -
of
-
getAppId
-
getVersionId
-
toString
-