public enum AuthorizationProcedure extends java.lang.Enum<AuthorizationProcedure>
Enum Constant and Description |
---|
FULLY_AUTOMATIC
Run a fully automatic procedure to get an access token from the OSM website.
|
MANUALLY
Enter an Access Token manually.
|
SEMI_AUTOMATIC
Run a semi-automatic procedure to get an access token from the OSM website.
|
Modifier and Type | Method and Description |
---|---|
static AuthorizationProcedure |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AuthorizationProcedure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AuthorizationProcedure FULLY_AUTOMATIC
public static final AuthorizationProcedure SEMI_AUTOMATIC
public static final AuthorizationProcedure MANUALLY
public static AuthorizationProcedure[] values()
for (AuthorizationProcedure c : AuthorizationProcedure.values()) System.out.println(c);
public static AuthorizationProcedure 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 null