public static enum OpenConextOAuthClientMock.Users extends Enum<OpenConextOAuthClientMock.Users>
| Enum Constant and Description |
|---|
dashboard_admin |
dashboard_super_user |
dashboard_viewer |
showroom_admin |
showroom_super_user |
showroom_user |
| Modifier and Type | Method and Description |
|---|---|
static OpenConextOAuthClientMock.Users |
fromUser(String userName) |
CoinAuthority.Authority |
getUser() |
static OpenConextOAuthClientMock.Users |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenConextOAuthClientMock.Users[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenConextOAuthClientMock.Users dashboard_admin
public static final OpenConextOAuthClientMock.Users dashboard_viewer
public static final OpenConextOAuthClientMock.Users dashboard_super_user
public static final OpenConextOAuthClientMock.Users showroom_admin
public static final OpenConextOAuthClientMock.Users showroom_user
public static final OpenConextOAuthClientMock.Users showroom_super_user
public static OpenConextOAuthClientMock.Users[] values()
for (OpenConextOAuthClientMock.Users c : OpenConextOAuthClientMock.Users.values()) System.out.println(c);
public static OpenConextOAuthClientMock.Users 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 CoinAuthority.Authority getUser()
public static OpenConextOAuthClientMock.Users fromUser(String userName)
Copyright © 2012–2014 SURFnet bv, The Netherlands. All rights reserved.