public static enum Role.DefaultRoles extends Enum<Role.DefaultRoles>
Enum Constant and Description |
---|
AUTHOR |
CATALOG_AUTHOR |
CONSOLE |
ORG_ADMIN |
USER |
Modifier and Type | Field and Description |
---|---|
static List<Role.DefaultRoles> |
ALL |
protected static Map<String,Role.DefaultRoles> |
DEFAULT_ROLES_BY_ID |
protected String |
stringValue |
Modifier and Type | Method and Description |
---|---|
static Role.DefaultRoles |
fromValue(String value) |
String |
value() |
static Role.DefaultRoles |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Role.DefaultRoles[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Role.DefaultRoles USER
public static final Role.DefaultRoles AUTHOR
public static final Role.DefaultRoles CATALOG_AUTHOR
public static final Role.DefaultRoles CONSOLE
public static final Role.DefaultRoles ORG_ADMIN
public static final List<Role.DefaultRoles> ALL
protected final String stringValue
protected static final Map<String,Role.DefaultRoles> DEFAULT_ROLES_BY_ID
public static Role.DefaultRoles[] values()
for (Role.DefaultRoles c : Role.DefaultRoles.values()) System.out.println(c);
public static Role.DefaultRoles 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 value()
public static Role.DefaultRoles fromValue(String value)
Copyright © 2009-2013 jclouds. All Rights Reserved.