public final class ApplicationKey extends Object implements Serializable
ApplicationKey must match the
the regular expression [a-zA-Z.]+. It is case-preserving but not case-sensitive. For example,
ApplicationKey.valueOf("ABC").equals(ApplicationKey.valueOf("aBc")) evaluates to true.| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object x) |
int |
hashCode() |
static boolean |
isValid(String key)
Indicate if the passed key is valid.
|
String |
toString() |
String |
value()
Return the
String key used to create the ApplicationKey. |
static ApplicationKey |
valueOf(String key)
Create a new
ApplicationKey. |
@Nonnull public String value()
String key used to create the ApplicationKey.String key used to create the ApplicationKey.public static ApplicationKey valueOf(String key)
ApplicationKey. The passed key must match the
regex [a-zA-Z.]+.key - the string for the ApplicationKey.ApplicationKeyIllegalArgumentException - if key is invalid.Copyright © 2018 Atlassian. All rights reserved.