Interface NamedContributors<C>
- Type Parameters:
C
- the contributor type
- All Superinterfaces:
Iterable<NamedContributor<C>>
- All Known Subinterfaces:
CompositeHealthContributor
,CompositeReactiveHealthContributor
,ContributorRegistry<C>
,HealthContributorRegistry
,ReactiveHealthContributorRegistry
- All Known Implementing Classes:
DefaultHealthContributorRegistry
,DefaultReactiveHealthContributorRegistry
A collection of named health endpoint contributors (either
HealthContributor
or
ReactiveHealthContributor
).- Since:
- 2.0.0
- Author:
- Phillip Webb
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetContributor
(String name) Return the contributor with the given name.default Stream
<NamedContributor<C>> stream()
Return a stream of thenamed contributors
.Methods inherited from interface java.lang.Iterable
forEach, iterator, spliterator
-
Method Details
-
getContributor
-
stream
Return a stream of thenamed contributors
.- Returns:
- the stream of named contributors
-