Package csw.testkit
Class ConfigTestKit$
- java.lang.Object
-
- csw.testkit.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 ConfigTestKitConfigTestKit
create(akka.actor.typed.ActorSystem<akka.actor.typed.SpawnProtocol.Command> actorSystem)
Java API for creating ConfigTestKitConfigTestKit
create(com.typesafe.config.Config serverConfig)
Java API for creating ConfigTestKitConfigTestKit
create(com.typesafe.config.Config serverConfig, TestKitSettings testKitSettings)
Java API for creating ConfigTestKitConfigTestKit
create(TestKitSettings testKitSettings)
Java API for creating ConfigTestKit
-
-
-
Field Detail
-
MODULE$
public static final ConfigTestKit$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
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 ConfigTestKitWhen 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 servertestKitSettings
- custom testKitSettings- Returns:
- handle to ConfigTestKit which can be used to start and stop config server
-
-