public enum ApiRolesToInclude extends Enum<ApiRolesToInclude>
| Modifier and Type | Class and Description |
|---|---|
static class |
ApiRolesToInclude.Adapter |
| Enum Constant and Description |
|---|
ALL_ROLES |
NON_SLAVES_ONLY |
SLAVES_ONLY |
| Modifier and Type | Method and Description |
|---|---|
static ApiRolesToInclude |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static ApiRolesToInclude |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApiRolesToInclude[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApiRolesToInclude SLAVES_ONLY
public static final ApiRolesToInclude NON_SLAVES_ONLY
public static final ApiRolesToInclude ALL_ROLES
public static ApiRolesToInclude[] values()
for (ApiRolesToInclude c : ApiRolesToInclude.values()) System.out.println(c);
public static ApiRolesToInclude 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()
public String toString()
toString in class Enum<ApiRolesToInclude>public static ApiRolesToInclude fromValue(String text)
Copyright © 2021. All rights reserved.