Package csw.testkit

Class AlarmTestKit$

java.lang.Object
csw.testkit.AlarmTestKit$

public class AlarmTestKit$ extends Object
  • Field Details

    • MODULE$

      public static final AlarmTestKit$ MODULE$
      Static reference to the singleton instance of this Scala object.
  • Constructor Details

    • AlarmTestKit$

      public AlarmTestKit$()
  • Method Details

    • apply

      public AlarmTestKit apply(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> actorSystem, io.lettuce.core.RedisClient redisClient, TestKitSettings testKitSettings)
      Create a AlarmTestKit

      When the test has completed you should shutdown the alarm service with AlarmTestKit.shutdownAlarmService().

      Parameters:
      actorSystem - (undocumented)
      redisClient - (undocumented)
      testKitSettings - (undocumented)
      Returns:
      handle to AlarmTestKit which can be used to start and stop alarm service
    • create

      public AlarmTestKit create(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> actorSystem)
      Java API to create a EventTestKit

      Parameters:
      actorSystem - (undocumented)
      Returns:
      handle to EventTestKit which can be used to start and stop event service
    • create

      public AlarmTestKit create(TestKitSettings testKitSettings)
      Java API to create a AlarmTestKit

      Parameters:
      testKitSettings - custom testKitSettings
      Returns:
      handle to AlarmTestKit which can be used to start and stop alarm service
    • create

      public AlarmTestKit create(io.lettuce.core.RedisClient redisClient)
      Java API to create a EventTestKit

      Parameters:
      redisClient - (undocumented)
      Returns:
      handle to EventTestKit which can be used to start and stop event service