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, waitSE
registerContributor, unregisterContributor
getContributor, stream
forEachSE, iteratorSE, spliteratorSE
public DefaultHealthContributorRegistry()
public DefaultHealthContributorRegistry(MapSE<StringSE,HealthContributor> contributors)
public DefaultHealthContributorRegistry(MapSE<StringSE,HealthContributor> contributors, FunctionSE<StringSE,StringSE> nameFactory)
public void registerContributor(StringSE name, C contributor)
ContributorRegistry
name
にコントリビューターを登録します。ContributorRegistry<C>
の registerContributor
name
- コントリビューターの名前 contributor
- 登録するコントリビューター public C unregisterContributor(StringSE name)
ContributorRegistry
ContributorRegistry<C>
の unregisterContributor
name
- 登録解除するコントリビューターの名前 name
のレジストリにインジケータが見つからなかった場合は null
public C getContributor(StringSE name)
NamedContributors
NamedContributors<C>
の getContributor
name
- コントリビューターの名前 null
public IteratorSE<NamedContributor<C>> iterator()
IterableSE<NamedContributor<C>>
の iteratorSE