/** * Create a new {@link com.atlassian.application.api.ApplicationKey}. The passed key must match the * regex {@code [a-zA-Z.]+}. * * @param key the string for the {@code ApplicationKey}. * @return the new {@code ApplicationKey} * @throws java.lang.IllegalArgumentException if key is invalid. */ public static ApplicationKey valueOf(final String key) { return new ApplicationKey(key); }