public enum Environment extends java.lang.Enum<Environment>
| Modifier and Type | Method and Description |
|---|---|
static Environment |
fromPrefix(java.lang.String prefix) |
java.lang.String |
getAccountsUrl() |
java.lang.String |
getApiUrl() |
java.lang.String |
getApiUrl(int version) |
static Environment |
getDefault() |
java.lang.String |
getMyMojioUrl() |
java.lang.String |
getPasswordRecoveryUrl() |
java.lang.String |
getPrefix() |
java.lang.String |
getPushUrl() |
java.lang.String |
getPushUrl(int version) |
static Environment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Environment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Environment PROD
public static final Environment CZECH
public static final Environment TRIAL
public static final Environment STAGING
public static final Environment DEVELOP
public static Environment[] values()
for (Environment c : Environment.values()) System.out.println(c);
public static Environment valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getAccountsUrl()
public java.lang.String getPasswordRecoveryUrl()
public java.lang.String getApiUrl()
public java.lang.String getApiUrl(int version)
public java.lang.String getPushUrl()
public java.lang.String getPushUrl(int version)
public java.lang.String getMyMojioUrl()
public java.lang.String getPrefix()
public static Environment getDefault()
public static Environment fromPrefix(java.lang.String prefix)