public enum DetailsVisibility extends Enum<DetailsVisibility>
Enum Constant and Description |
---|
ANONYMOUS
Show health details to all users.
|
AUTHENTICATED
Only show health details to authenticated users.
|
NEVER
Never show health details.
|
Modifier and Type | Method and Description |
---|---|
static DetailsVisibility |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DetailsVisibility[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DetailsVisibility NEVER
public static final DetailsVisibility AUTHENTICATED
public static final DetailsVisibility ANONYMOUS
public static DetailsVisibility[] values()
for (DetailsVisibility c : DetailsVisibility.values()) System.out.println(c);
public static DetailsVisibility 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 null