Interface InfoSource
- All Superinterfaces:
io.micronaut.core.order.Ordered
- All Known Subinterfaces:
PropertiesInfoSource
- All Known Implementing Classes:
BuildInfoSource,ConfigurationInfoSource,GitInfoSource
public interface InfoSource
extends io.micronaut.core.order.Ordered
Describes an source of info that will be retrieved by the InfoEndpoint.
- Since:
- 1.0
-
Field Summary
Fields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Modifier and TypeMethodDescriptionorg.reactivestreams.Publisher<io.micronaut.context.env.PropertySource>Methods inherited from interface io.micronaut.core.order.Ordered
getOrder
-
Method Details
-
getSource
org.reactivestreams.Publisher<io.micronaut.context.env.PropertySource> getSource()- Returns:
- A publisher that returns a
PropertySourcecontaining data to be added to the endpoint response.
-