接口 NamedContributors<C>
- 类型参数:
C
- the contributor type
- 所有超级接口:
Iterable<NamedContributor<C>>
- 所有已知子接口:
CompositeHealthContributor
,CompositeReactiveHealthContributor
,ContributorRegistry<C>
,HealthContributorRegistry
,ReactiveHealthContributorRegistry
A collection of named health endpoint contributors (either
HealthContributor
or
ReactiveHealthContributor
).- 从以下版本开始:
- 2.0.0
- 作者:
- Phillip Webb
- 另请参阅:
-
方法概要
修饰符和类型方法说明getContributor
(String name) Return the contributor with the given name.default Stream
<NamedContributor<C>> stream()
Return a stream of thenamed contributors
.从接口继承的方法 java.lang.Iterable
forEach, iterator, spliterator
-
方法详细资料
-
getContributor
Return the contributor with the given name.- 参数:
name
- the name of the contributor- 返回:
- a contributor instance or
null
-
stream
Return a stream of thenamed contributors
.- 返回:
- the stream of named contributors
-