public enum EndpointExposure extends Enum<EndpointExposure>
Enum Constant and Description |
---|
JMX
Expose the endpoint as a JMX MBean.
|
WEB
Expose the endpoint as a Web endpoint.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isEnabledByDefault() |
static EndpointExposure |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EndpointExposure[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EndpointExposure JMX
public static final EndpointExposure WEB
public static EndpointExposure[] values()
for (EndpointExposure c : EndpointExposure.values()) System.out.println(c);
public static EndpointExposure 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 boolean isEnabledByDefault()
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.