@Singleton @Requires(beans=InfoEndpoint.class) @Requires(property="endpoints.info.build.enabled",notEquals="false") public class BuildInfoSource extends java.lang.Object implements PropertiesInfoSource
An InfoSource that retrieves info from build properties.
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description |
|---|
BuildInfoSource(ResourceResolver resourceResolver,
java.lang.String buildPropertiesPath) |
| Modifier and Type | Method and Description |
|---|---|
org.reactivestreams.Publisher<PropertySource> |
getSource() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitretrievePropertiesPropertySourcepublic BuildInfoSource(ResourceResolver resourceResolver, @Value(value="${endpoints.info.build.location:META-INF/build-info.properties}") java.lang.String buildPropertiesPath)
resourceResolver - A ResourceResolverbuildPropertiesPath - The build properties pathpublic org.reactivestreams.Publisher<PropertySource> getSource()
getSource in interface InfoSourcePropertySource containing data to be added to the endpoint response.