Package csw.testkit
Class TestKitSettings
- java.lang.Object
-
- csw.testkit.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 fromcsw.testkit
section.static TestKitSettings
apply(com.typesafe.config.Config config)
Reads configuration settings from givenConfig
that must have the same layout as thecsw.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 fromcsw.testkit
section.
static TestKitSettings
create(com.typesafe.config.Config config)
Reads configuration settings from givenConfig
that must have the same layout as theakka.actor.testkit.typed
section.akka.util.Timeout
DefaultTimeout()
`DefaultTimeout` used for awaiting on future valuesscala.Option<java.lang.Object>
EventMasterPort()
scala.Option<java.lang.Object>
EventSentinelPort()
int
LocationAuthClusterPort()
int
LocationAuthHttpPort()
int
LocationClusterPort()
int
LocationHttpPort()
-
-
-
Method Detail
-
apply
public static TestKitSettings apply(akka.actor.typed.ActorSystem<?> system)
Reads configuration settings fromcsw.testkit
section.- Parameters:
system
- (undocumented)- Returns:
- (undocumented)
-
apply
public static TestKitSettings apply(com.typesafe.config.Config config)
Reads configuration settings from givenConfig
that must have the same layout as thecsw.testkit
section.- Parameters:
config
- (undocumented)- Returns:
- (undocumented)
-
create
public static TestKitSettings create(akka.actor.typed.ActorSystem<?> system)
Java API: Reads configuration settings fromcsw.testkit
section.
- Parameters:
system
- (undocumented)- Returns:
- (undocumented)
-
create
public static TestKitSettings create(com.typesafe.config.Config config)
Reads configuration settings from givenConfig
that must have the same layout as theakka.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 int LocationClusterPort()
-
LocationHttpPort
public int LocationHttpPort()
-
LocationAuthClusterPort
public int LocationAuthClusterPort()
-
LocationAuthHttpPort
public int LocationAuthHttpPort()
-
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()
-
-