public enum ShowDetails extends Enum<ShowDetails>
HealthEndpoint
web
extensions.Enum Constant and Description |
---|
ALWAYS
Always show details in the response.
|
NEVER
Never show details in the response.
|
WHEN_AUTHORIZED
Show details in the response when accessed by an authorized user.
|
Modifier and Type | Method and Description |
---|---|
static ShowDetails |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShowDetails[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShowDetails NEVER
public static final ShowDetails WHEN_AUTHORIZED
public static final ShowDetails ALWAYS
public static ShowDetails[] values()
for (ShowDetails c : ShowDetails.values()) System.out.println(c);
public static ShowDetails 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 © 2018 Pivotal Software, Inc.. All rights reserved.