インターフェース HealthContributorMembership

関数インターフェース:
これは関数インターフェースであるため、ラムダ式またはメソッド参照の割り当てターゲットとして使用できます。

@FunctionalInterfaceSE public interface HealthContributorMembership
ヘルスに関するコントリビューターがグループまたはコレクションのメンバーであるかどうかを判定します。
導入:
4.1.0
作成者:
Phillip Webb, Madhura Bhave
  • 方法の詳細

    • isMember

      boolean isMember(StringSE name)
      指定されたコントリビューターがメンバーである場合、true を返します。
      パラメーター:
      name - 投稿者名
      戻り値:
      コントリビューターがメンバーである場合は true 
    • always

      static HealthContributorMembership always()
      常に一致する HealthContributorMembership を返します。
      戻り値:
      常に一致する HealthContributorMembership インスタンス
    • byIncludeExclude

      static HealthContributorMembership byIncludeExclude(@Nullable SetSE<StringSE> include, @Nullable SetSE<StringSE> exclude)
      包含パターンと除外パターンに基づいて一致する HealthContributorMembership インスタンスを返します。'*' パターンと '/' で区切られた名前をサポートします。
      パラメーター:
      include - パターンまたは null を含める
      exclude - null の除外パターン
      戻り値:
      新しい HealthContributorMembership インスタンス