Package csw.testkit

Class TestKitSettings


  • public final class TestKitSettings
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      TestKitSettings​(com.typesafe.config.Config config)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      scala.Option<java.lang.Object> AlarmMasterPort()  
      scala.Option<java.lang.Object> AlarmSentinelPort()  
      static TestKitSettings apply​(akka.actor.typed.ActorSystem<?> system)
      Reads configuration settings from csw.testkit section.
      static TestKitSettings apply​(com.typesafe.config.Config config)
      Reads configuration settings from given Config that must have the same layout as the csw.testkit section.
      com.typesafe.config.Config config()  
      scala.Option<java.lang.Object> ConfigPort()  
      static TestKitSettings create​(akka.actor.typed.ActorSystem<?> system)
      Java API: Reads configuration settings from csw.testkit section.
      static TestKitSettings create​(com.typesafe.config.Config config)
      Reads configuration settings from given Config that must have the same layout as the akka.actor.testkit.typed section.
      akka.util.Timeout DefaultTimeout()
      `DefaultTimeout` used for awaiting on future values
      scala.Option<java.lang.Object> EventMasterPort()  
      scala.Option<java.lang.Object> EventSentinelPort()  
      scala.Option<java.lang.Object> LocationClusterPort()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TestKitSettings

        public TestKitSettings​(com.typesafe.config.Config config)
    • Method Detail

      • apply

        public static TestKitSettings apply​(akka.actor.typed.ActorSystem<?> system)
        Reads configuration settings from csw.testkit section.
        Parameters:
        system - (undocumented)
        Returns:
        (undocumented)
      • apply

        public static TestKitSettings apply​(com.typesafe.config.Config config)
        Reads configuration settings from given Config that must have the same layout as the csw.testkit section.
        Parameters:
        config - (undocumented)
        Returns:
        (undocumented)
      • create

        public static TestKitSettings create​(akka.actor.typed.ActorSystem<?> system)
        Java API: Reads configuration settings from csw.testkit section.
        Parameters:
        system - (undocumented)
        Returns:
        (undocumented)
      • create

        public static TestKitSettings create​(com.typesafe.config.Config config)
        Reads configuration settings from given Config that must have the same layout as the akka.actor.testkit.typed section.
        Parameters:
        config - (undocumented)
        Returns:
        (undocumented)
      • config

        public com.typesafe.config.Config config()
      • DefaultTimeout

        public akka.util.Timeout DefaultTimeout()
        `DefaultTimeout` used for awaiting on future values
      • LocationClusterPort

        public scala.Option<java.lang.Object> LocationClusterPort()
      • ConfigPort

        public scala.Option<java.lang.Object> ConfigPort()
      • EventSentinelPort

        public scala.Option<java.lang.Object> EventSentinelPort()
      • EventMasterPort

        public scala.Option<java.lang.Object> EventMasterPort()
      • AlarmSentinelPort

        public scala.Option<java.lang.Object> AlarmSentinelPort()
      • AlarmMasterPort

        public scala.Option<java.lang.Object> AlarmMasterPort()