Class AppId

java.lang.Object
com.google.apphosting.base.AppId

public class AppId extends Object
Class used for parsing the various components of the AppId.
  • Method Details

    • getAppId

      public String getAppId()
      Returns:
      The full appId.
    • getDomain

      public String getDomain()
      Returns:
      The domain component of this appId.
    • getDisplayAppId

      public String getDisplayAppId()
      Returns:
      The display-app-id component of this appId.
    • getPartition

      public String getPartition()
      Returns:
      The partition component of the appId.
    • getLongAppId

      public String getLongAppId()
      Returns:
      The appId without the partition component.
    • parse

      public static AppId parse(String appId)
      Returns a new AppId object based on an appId formatted as follows: [(partition)~][(domain):](display-app-id)
      Parameters:
      appId - The appId to parse.
      Returns:
      AppId object with the parsed appid components.