sealed trait Setup extends AnyRef
- Source
- ServiceTest.scala
- Alphabetic
- By Inheritance
- Setup
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def cassandra: Boolean
Whether Cassandra is enabled.
- abstract def cluster: Boolean
Whether clustering is enabled.
- abstract def jdbc: Boolean
Whether JDBC is enabled.
- abstract def ssl: Boolean
Whether SSL is enabled.
- abstract def withCassandra(enabled: Boolean): Setup
Enable or disable Cassandra.
Enable or disable Cassandra.
- enabled
True if Cassandra should be enabled, or false if disabled. Enabling Cassandra will also enable the cluster.
- returns
A copy of this setup.
- abstract def withCluster(enabled: Boolean): Setup
Enable or disable clustering.
Enable or disable clustering.
Disabling this will automatically disable any persistence plugins, since persistence requires clustering.
- enabled
True if clustering should be enabled, or false if disabled.
- returns
A copy of this setup.
- abstract def withJdbc(enabled: Boolean): Setup
Enable or disable JDBC.
Enable or disable JDBC.
Enabling JDBC will also enable the cluster.
- enabled
True if JDBC should be enabled, or false if disabled.
- returns
A copy of this setup.
- abstract def withSsl(enabled: Boolean): Setup
Enable or disable the SSL port.
Enable or disable the SSL port.
- enabled
True if the server should bind an HTTP+TLS port, or false if only HTTP should be bound.
- returns
A copy of this setup.
- Annotations
- @ApiMayChange()
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- def ->[B](y: B): (Setup, B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def ensuring(cond: (Setup) => Boolean, msg: => Any): Setup
- def ensuring(cond: (Setup) => Boolean): Setup
- def ensuring(cond: Boolean, msg: => Any): Setup
- def ensuring(cond: Boolean): Setup
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withCassandra(): Setup
Enable Cassandra.
Enable Cassandra.
If enabled, this will start an embedded Cassandra server before the tests start, and shut it down afterwards. It will also configure Lagom to use the embedded Cassandra server. Enabling Cassandra will also enable the cluster.
- returns
A copy of this setup.
- def withCluster(): Setup
Enable clustering.
Enable clustering.
Disabling this will automatically disable any persistence plugins, since persistence requires clustering.
- returns
A copy of this setup.
- def withJdbc(): Setup
Enable JDBC.
Enable JDBC.
Enabling JDBC will also enable the cluster.
- returns
A copy of this setup.
- def withSsl(): Setup
Enable the SSL port.
Enable the SSL port.
- returns
A copy of this setup.
- Annotations
- @ApiMayChange()
Deprecated Value Members
- def →[B](y: B): (Setup, B)
- Implicit
- This member is added by an implicit conversion from Setup toArrowAssoc[Setup] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.