@Environment(value=CLIENT) public static enum RealmsClient.Environment extends Enum<RealmsClient.Environment>
| Enum Constant and Description |
|---|
LOCAL |
PRODUCTION |
STAGE |
| Modifier and Type | Method and Description |
|---|---|
static RealmsClient.Environment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RealmsClient.Environment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RealmsClient.Environment PRODUCTION
public static final RealmsClient.Environment STAGE
public static final RealmsClient.Environment LOCAL
public static RealmsClient.Environment[] values()
for (RealmsClient.Environment c : RealmsClient.Environment.values()) System.out.println(c);
public static RealmsClient.Environment valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null