列挙型クラス SearchStrategy

java.lang.ObjectSE
java.lang.EnumSE<SearchStrategy>
org.springframework.boot.autoconfigure.condition.SearchStrategy
実装されたすべてのインターフェース:
SerializableSEComparableSE<SearchStrategy>ConstableSE

public enum SearchStrategy extends EnumSE<SearchStrategy>
Bean ファクトリ階層の Bean の名前付き検索戦略。
導入:
1.0.0
作成者:
Dave Syer
  • 列挙型定数の詳細

    • CURRENT

      public static final SearchStrategy CURRENT
      現在のコンテキストのみを検索します。
    • ANCESTORS

      public static final SearchStrategy ANCESTORS
      すべての祖先を検索しますが、現在のコンテキストは検索しません。
    • ALL

      public static final SearchStrategy ALL
      階層全体を検索します。
  • メソッドの詳細

    • values

      public static SearchStrategy[] values()
      この列挙型クラスの定数を含む配列を、宣言されている順序で返します。
      戻り値:
      この列挙型クラスの定数を宣言された順序で含む配列
    • valueOf

      public static SearchStrategy valueOf(StringSE name)
      指定された名前でこのクラスの列挙型定数を返します。文字列は、このクラスで列挙型定数を宣言するために使用される識別子と正確に一致する必要があります。(余分な空白文字は許可されません。)
      パラメーター:
      name - 返される列挙定数の名前。
      戻り値:
      指定された名前の列挙定数
      例外:
      IllegalArgumentExceptionSE - この列挙型クラスに指定された名前の定数がない場合
      NullPointerExceptionSE - 引数が null の場合