public class DefaultHealthContributorRegistry extends ObjectSE implements HealthContributorRegistry
HealthContributorRegistry 実装。| コンストラクターと説明 |
|---|
DefaultHealthContributorRegistry() |
DefaultHealthContributorRegistry(MapSE<StringSE, HealthContributor> contributors) |
DefaultHealthContributorRegistry(MapSE<StringSE, HealthContributor> contributors, FunctionSE<StringSE, StringSE> nameFactory) |
| 修飾子と型 | メソッドと説明 |
|---|---|
C | getContributor(StringSE name) 指定された名前の投稿者を返します。 |
IteratorSE<NamedContributor<C>> | iterator() |
void | registerContributor(StringSE name, C contributor) 指定された name にコントリビューターを登録します。 |
C | unregisterContributor(StringSE name) 以前に登録したコントリビューターの登録を解除します。 |
cloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, toStringSE, waitSE, waitSE, waitSEregisterContributor, unregisterContributorgetContributor, streamforEachSE, iteratorSE, spliteratorSEpublic DefaultHealthContributorRegistry()
public DefaultHealthContributorRegistry(MapSE<StringSE,HealthContributor> contributors)
public DefaultHealthContributorRegistry(MapSE<StringSE,HealthContributor> contributors, FunctionSE<StringSE,StringSE> nameFactory)
public void registerContributor(StringSE name, C contributor)
ContributorRegistryname にコントリビューターを登録します。ContributorRegistry<C> 内の registerContributor name - コントリビューターの名前 contributor - 登録するコントリビューター public C unregisterContributor(StringSE name)
ContributorRegistryContributorRegistry<C> 内の unregisterContributor name - 登録解除するコントリビューターの名前 name のレジストリにインジケータが見つからなかった場合は null public C getContributor(StringSE name)
NamedContributorsNamedContributors<C> 内の getContributor name - コントリビューターの名前 null のコントリビューターインスタンス public IteratorSE<NamedContributor<C>> iterator()
IterableSE<NamedContributor<C>> 内の iteratorSE