class ScalaPactDescription extends AnyRef
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ScalaPactDescription
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new ScalaPactDescription(strict: Boolean, consumer: String, provider: String, sslContextName: Option[String], interactions: List[ScalaPactInteraction])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addInteraction(interaction: ScalaPactInteraction): ScalaPactDescription
Adds interactions to the Pact.
Adds interactions to the Pact. Interactions should be created using the helper object 'interaction'
- interaction
[ScalaPactInteraction] definition
- returns
[ScalaPactDescription] to allow the builder to continue
- def addSslContextForServer(name: String): ScalaPactDescription
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- 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() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def runConsumerTest[A](test: (ScalaPactMockConfig) => A)(implicit options: ScalaPactOptions, sslContextMap: SslContextMap, pactReader: IPactReader, pactWriter: IPactWriter, httpClientBuilder: IScalaPactHttpClientBuilder, pactStubber: IPactStubber): A
- def startServer()(implicit httpClientBuilder: IScalaPactHttpClientBuilder, options: ScalaPactOptions, pactReader: IPactReader, pactWriter: IPactWriter, pactStubber: IPactStubber): ScalaPactMockServer
Starts the
ScalaPactMockServer, which tests can then be run against.Starts the
ScalaPactMockServer, which tests can then be run against. It is important that the server be shutdown when no longer needed by invokingstop(). - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def writePactsToFile(implicit options: ScalaPactOptions, pactWriter: IPactWriter): Unit
Writes pacts described by this ScalaPactDescription to file without running any consumer tests
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated