public static enum Environment.SocialIdEnvironment extends java.lang.Enum<Environment.SocialIdEnvironment> implements Environment
Environment.SocialIdEnvironment
Enum Constant and Description |
---|
DEVELOPMENT |
PREPRODUCTION |
PRODUCTION |
STAGING |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHost() |
int |
getPort() |
java.lang.String |
getProtocol() |
static Environment.SocialIdEnvironment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Environment.SocialIdEnvironment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Environment.SocialIdEnvironment PRODUCTION
public static final Environment.SocialIdEnvironment PREPRODUCTION
public static final Environment.SocialIdEnvironment STAGING
public static final Environment.SocialIdEnvironment DEVELOPMENT
public static Environment.SocialIdEnvironment[] values()
for (Environment.SocialIdEnvironment c : Environment.SocialIdEnvironment.values()) System.out.println(c);
public static Environment.SocialIdEnvironment 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 getProtocol()
getProtocol
in interface Environment
public java.lang.String getHost()
getHost
in interface Environment
public int getPort()
getPort
in interface Environment