Package csw.testkit

Class ConfigTestKit$


  • public class ConfigTestKit$
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static ConfigTestKit$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      ConfigTestKit$()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ConfigTestKit apply​(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> actorSystem, scala.Option<com.typesafe.config.Config> serverConfig, TestKitSettings testKitSettings)
      Create a ConfigTestKit
      ConfigTestKit create​(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> actorSystem)
      Java API for creating ConfigTestKit
      ConfigTestKit create​(com.typesafe.config.Config serverConfig)
      Java API for creating ConfigTestKit
      ConfigTestKit create​(com.typesafe.config.Config serverConfig, TestKitSettings testKitSettings)
      Java API for creating ConfigTestKit
      ConfigTestKit create​(TestKitSettings testKitSettings)
      Java API for creating ConfigTestKit
      • Methods inherited from class java.lang.Object

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

      • MODULE$

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

      • ConfigTestKit$

        public ConfigTestKit$()
    • Method Detail

      • apply

        public ConfigTestKit apply​(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> actorSystem,
                                   scala.Option<com.typesafe.config.Config> serverConfig,
                                   TestKitSettings testKitSettings)
        Create a ConfigTestKit

        When the test has completed you should shutdown the config server with ConfigTestKit.shutdownConfigServer().

        Parameters:
        actorSystem - (undocumented)
        serverConfig - (undocumented)
        testKitSettings - (undocumented)
        Returns:
        (undocumented)
      • create

        public ConfigTestKit create​(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> actorSystem)
        Java API for creating ConfigTestKit

        Parameters:
        actorSystem -
        Returns:
        handle to ConfigTestKit which can be used to start and stop config server
      • create

        public ConfigTestKit create​(com.typesafe.config.Config serverConfig)
        Java API for creating ConfigTestKit

        Parameters:
        serverConfig - custom configuration with which to start config server
        Returns:
        handle to ConfigTestKit which can be used to start and stop config server
      • create

        public ConfigTestKit create​(TestKitSettings testKitSettings)
        Java API for creating ConfigTestKit

        Parameters:
        testKitSettings - custom testKitSettings
        Returns:
        handle to ConfigTestKit which can be used to start and stop config server
      • create

        public ConfigTestKit create​(com.typesafe.config.Config serverConfig,
                                    TestKitSettings testKitSettings)
        Java API for creating ConfigTestKit

        Parameters:
        serverConfig - custom configuration with which to start config server
        testKitSettings - custom testKitSettings
        Returns:
        handle to ConfigTestKit which can be used to start and stop config server