C
- the contributor typepublic interface NamedContributor<C>
HealthContributor
or
ReactiveHealthContributor
).NamedContributors
Modifier and Type | Method and Description |
---|---|
C |
getContributor()
Returns the contributor instance.
|
String |
getName()
Returns the name of the contributor.
|
static <C> NamedContributor<C> |
of(String name,
C contributor) |
String getName()
C getContributor()
static <C> NamedContributor<C> of(String name, C contributor)