org.jclouds.vcloud.director.v1_5.domain
Enum Role.DefaultRoles
java.lang.Object
java.lang.Enum<Role.DefaultRoles>
org.jclouds.vcloud.director.v1_5.domain.Role.DefaultRoles
- All Implemented Interfaces:
- Serializable, Comparable<Role.DefaultRoles>
- Enclosing class:
- Role
public static enum Role.DefaultRoles
- extends Enum<Role.DefaultRoles>
USER
public static final Role.DefaultRoles USER
AUTHOR
public static final Role.DefaultRoles AUTHOR
CATALOG_AUTHOR
public static final Role.DefaultRoles CATALOG_AUTHOR
CONSOLE
public static final Role.DefaultRoles CONSOLE
ORG_ADMIN
public static final Role.DefaultRoles ORG_ADMIN
ALL
public static final List<Role.DefaultRoles> ALL
stringValue
protected final String stringValue
DEFAULT_ROLES_BY_ID
protected static final Map<String,Role.DefaultRoles> DEFAULT_ROLES_BY_ID
values
public static Role.DefaultRoles[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Role.DefaultRoles c : Role.DefaultRoles.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Role.DefaultRoles valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
value
public String value()
fromValue
public static Role.DefaultRoles fromValue(String value)
Copyright © 2009-2012 jclouds. All Rights Reserved.