public enum DetailsVisibility extends java.lang.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(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null