public enum ApiRolesToInclude extends Enum<ApiRolesToInclude>
| Enum Constant and Description |
|---|
ALL_ROLES
All roles of the selected rolling-restartable services.
|
NON_SLAVES_ONLY
Only the non-slave roles of the selected rolling-restartable services.
|
SLAVES_ONLY
Only the slave roles of the selected rolling-restartable services.
|
| Modifier and Type | Method and Description |
|---|---|
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 nullCopyright © Cloudera, Inc. Released under Apache License, Version 2.0.