public enum Role extends Enum<Role>
| Enum Constant and Description |
|---|
AUDITORS |
BILLING_MANAGERS |
DEVELOPERS |
MANAGERS |
USERS |
| Modifier and Type | Field and Description |
|---|---|
static Set<Role> |
ORG_ROLES |
static Set<Role> |
SPACE_ROLES |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static Role |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Role MANAGERS
public static final Role BILLING_MANAGERS
public static final Role AUDITORS
public static final Role DEVELOPERS
public static final Role USERS
public static Role[] values()
for (Role c : Role.values()) System.out.println(c);
public static Role 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 getValue()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.