@Retention(value=RUNTIME) @Target(value={METHOD,TYPE}) @Documented public @interface ConditionalOnEnabledEndpoint
Conditional
that checks whether or not an endpoint is enabled. Matches if the
value of the endpoints.<name>.enabled
property is true
. Does not match
if the property's value or enabledByDefault
is false
. Otherwise,
matches if the value of the endpoints.enabled
property is true
or if
the property is not configured.Modifier and Type | Required Element and Description |
---|---|
String |
value
The name of the endpoint.
|
Modifier and Type | Optional Element and Description |
---|---|
boolean |
enabledByDefault
Returns whether or not the endpoint is enabled by default.
|
public abstract String value
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.