インターフェース HealthContributorMembership
- 関数インターフェース:
- これは関数インターフェースであるため、ラムダ式またはメソッド参照の割り当てターゲットとして使用できます。
ヘルスに関するコントリビューターがグループまたはコレクションのメンバーであるかどうかを判定します。
- 導入:
- 4.1.0
- 作成者:
- Phillip Webb, Madhura Bhave
方法の概要
修飾子と型メソッド説明static HealthContributorMembershipalways()常に一致するHealthContributorMembershipを返します。static HealthContributorMembershipbyIncludeExclude(@Nullable SetSE<StringSE> include, @Nullable SetSE<StringSE> exclude) 包含パターンと除外パターンに基づいて一致するHealthContributorMembershipインスタンスを返します。boolean指定されたコントリビューターがメンバーである場合、trueを返します。
方法の詳細
isMember
指定されたコントリビューターがメンバーである場合、trueを返します。- パラメーター:
name- 投稿者名- 戻り値:
- コントリビューターがメンバーである場合は
true
always
常に一致するHealthContributorMembershipを返します。- 戻り値:
- 常に一致する
HealthContributorMembershipインスタンス
byIncludeExclude
static HealthContributorMembership byIncludeExclude(@Nullable SetSE<StringSE> include, @Nullable SetSE<StringSE> exclude) - パラメーター:
include- パターンまたはnullを含めるexclude-nullの除外パターン- 戻り値:
- 新しい
HealthContributorMembershipインスタンス