クラス BatchTestContextCustomizer

java.lang.ObjectSE
org.springframework.batch.test.context.BatchTestContextCustomizer
実装されたすべてのインターフェース:
org.springframework.test.context.ContextCustomizer

public class BatchTestContextCustomizer extends ObjectSE implements org.springframework.test.context.ContextCustomizer
テストコンテキストで Bean としてバッチテストユーティリティクラス(JobLauncherTestUtils および JobRepositoryTestUtils)を追加する ContextCustomizer 実装。
導入:
4.1
作成者:
Mahmoud Ben Hassine, Alexander Arshavskiy
  • コンストラクターの詳細

    • BatchTestContextCustomizer

      public BatchTestContextCustomizer()
  • メソッドの詳細

    • customizeContext

      public void customizeContext(org.springframework.context.ConfigurableApplicationContext context, org.springframework.test.context.MergedContextConfiguration mergedConfig)
      次で指定:
      インターフェース org.springframework.test.context.ContextCustomizercustomizeContext 
    • equals

      public boolean equals(ObjectSE obj)
      オーバーライド:
      クラス ObjectSEequalsSE 
    • hashCode

      public int hashCode()
      オーバーライド:
      クラス ObjectSEhashCode