クラス BaseExchangeBuilder<B extends BaseExchangeBuilder<B>>

java.lang.ObjectSE
org.springframework.amqp.core.AbstractBuilder
org.springframework.amqp.core.BaseExchangeBuilder<B>
型パラメーター:
B - ターゲットクラスの実装型。
既知の直属サブクラス
ExchangeBuilderExchangeBuilder.ConsistentHashExchangeBuilder

public abstract class BaseExchangeBuilder<B extends BaseExchangeBuilder<B>> extends AbstractBuilder
ジェネリクスサポート用の AbstractBuilder 拡張。
導入:
3.2
作成者:
Gary Russell, Artem Bilan
  • フィールドの詳細

    • name

      protected final StringSE name
    • type

      protected final StringSE type
    • durable

      protected boolean durable
    • autoDelete

      protected boolean autoDelete
    • internal

      protected boolean internal
  • コンストラクターの詳細

    • BaseExchangeBuilder

      public BaseExchangeBuilder(StringSE name, StringSE type)
      適切な型のインスタンスを構築します。
      パラメーター:
      name - 取引所名
      type - 型名
      導入:
      1.6.7
      関連事項:
  • メソッドの詳細

    • autoDelete

      public B autoDelete()
      自動削除フラグを設定します。
      戻り値:
      ビルダー。
    • durable

      public B durable(boolean isDurable)
      永続フラグを設定します。
      パラメーター:
      isDurable - 永続フラグ (デフォルトは true)。
      戻り値:
      ビルダー。
    • withArgument

      public B withArgument(StringSE key, ObjectSE value)
      引数を追加します。
      パラメーター:
      key - 引数キー。
      value - 引数の値。
      戻り値:
      ビルダー。
    • withArguments

      public B withArguments(MapSE<StringSE, @Nullable ObjectSE> arguments)
      引数を追加します。
      パラメーター:
      arguments - 引数マップ。
      戻り値:
      ビルダー。
    • alternate

      public B alternate(StringSE exchange)
    • internal

      public B internal()
      内部フラグを設定します。
      戻り値:
      ビルダー。
    • delayed

      public B delayed()
      遅延フラグを設定します。
      戻り値:
      ビルダー。
    • ignoreDeclarationExceptions

      public B ignoreDeclarationExceptions()
      宣言時にプロパティの不一致などの例外を無視するように切り替えます。
      戻り値:
      ビルダー。
      導入:
      2.0
    • suppressDeclaration

      public B suppressDeclaration()
      管理者による交換の宣言を無効にするように切り替えます。
      戻り値:
      ビルダー。
      導入:
      2.1
    • admins

      public B admins(ObjectSE... admins)
      管理インスタンス、またはこの交換を宣言する必要がある管理 Bean 名。
      パラメーター:
      admins - 管理者。
      戻り値:
      ビルダー。
      導入:
      2.1
    • build

      public <T extends Exchange> T build()
    • configureExchange

      protected <T extends AbstractExchange> T configureExchange(T exchange)
    • _this

      protected final B _this()