public static enum DfaSession.Environment extends Enum<DfaSession.Environment> implements Endpoint
| Enum Constant and Description | 
|---|
PRODUCTION  | 
TEST  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getEndpoint()
Returns the endpoint to use. 
 | 
static DfaSession.Environment | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static DfaSession.Environment[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final DfaSession.Environment PRODUCTION
public static final DfaSession.Environment TEST
public static DfaSession.Environment[] values()
for (DfaSession.Environment c : DfaSession.Environment.values()) System.out.println(c);
public static DfaSession.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 nullpublic String getEndpoint()
EndpointgetEndpoint in interface EndpointCopyright © 2015. All Rights Reserved.