public enum RoleSize extends Enum<RoleSize>
Enum Constant and Description |
---|
EXTRA_LARGE |
EXTRA_SMALL |
LARGE |
MEDIUM |
SMALL |
Modifier and Type | Method and Description |
---|---|
static RoleSize |
fromValue(String type) |
String |
toString() |
String |
value() |
static RoleSize |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoleSize[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoleSize EXTRA_SMALL
public static final RoleSize SMALL
public static final RoleSize MEDIUM
public static final RoleSize LARGE
public static final RoleSize EXTRA_LARGE
public static RoleSize[] values()
for (RoleSize c : RoleSize.values()) System.out.println(c);
public static RoleSize 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()
Copyright © 2009-2013 jclouds. All Rights Reserved.