public class ApplicationKey
extends java.lang.Object
Constructor and Description |
---|
ApplicationKey() |
ApplicationKey(java.lang.String clientPlatform,
java.lang.String applicationId) |
ApplicationKey(java.lang.String clientPlatform,
java.lang.String applicationId,
java.lang.String version) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClientPlatform()
Gets the name of the client platform (ios, android, etc)
|
java.lang.String |
getId()
Gets the application ID.
|
java.lang.String |
getVersion()
Gets the version of the application.
|
static ApplicationKey |
parse(java.lang.String keyStr) |
java.lang.String |
toUniqueString()
Gets a string represntation of the application key.
|
boolean |
updateFrom(ApplicationKey that)
Reserved for internal use only.
|
public ApplicationKey()
public ApplicationKey(java.lang.String clientPlatform, java.lang.String applicationId)
public ApplicationKey(java.lang.String clientPlatform, java.lang.String applicationId, java.lang.String version)
public static ApplicationKey parse(java.lang.String keyStr)
public java.lang.String getId()
public java.lang.String getClientPlatform()
public java.lang.String getVersion()
public java.lang.String toUniqueString()
public boolean updateFrom(ApplicationKey that) throws java.lang.Exception
that
- the application key to update fromjava.lang.Exception
- if the given key is incompatible with this keypublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
© Copyright IBM Corp. 2006, 2015. All Rights Reserved.