@Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) @Documented @Conditional(value=org.springframework.boot.actuate.autoconfigure.info.OnEnabledInfoContributorCondition.class) public @interface ConditionalOnEnabledInfoContributor
@Conditional that checks whether or not an info contributor is
enabled. Matches if the value of the management.info.<name>.enabled property is
true. Otherwise, use the specific fallback method.| Modifier and Type | Required Element and Description |
|---|---|
String |
value
The name of the info contributor.
|
| Modifier and Type | Optional Element and Description |
|---|---|
InfoContributorFallback |
fallback
Fallback behavior when
management.info.<name>.enabled has not been set. |
public abstract String value
public abstract InfoContributorFallback fallback
management.info.<name>.enabled has not been set.