Packages

final case class ZTestEnvironmentOptions extends Product with Serializable

Represents ZTestEnvironment options.

See also

TestEnvironmentOptions

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ZTestEnvironmentOptions
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  8. val initialTimeMillis: Option[Long]
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. val metricsScope: Option[com.uber.m3.tally.Scope]
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  14. def productElementNames: Iterator[String]
    Definition Classes
    Product
  15. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  16. val target: Option[String]
  17. def toJava: TestEnvironmentOptions
  18. def toString(): String
    Definition Classes
    ZTestEnvironmentOptions → AnyRef → Any
  19. def transformJavaOptions(f: (Builder) => Builder): ZTestEnvironmentOptions

    Allows to specify options directly on the java SDK's TestEnvironmentOptions.

    Allows to specify options directly on the java SDK's TestEnvironmentOptions. Use it in case an appropriate withXXX method is missing

    Note

    the options specified via this method take precedence over those specified via other methods.

  20. val useExternalService: Option[Boolean]
  21. val useTimeskipping: Option[Boolean]
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  25. def withInitialTime(value: Instant): ZTestEnvironmentOptions

    Set the initial time for the workflow virtual clock.

    Set the initial time for the workflow virtual clock.

    Default is current time

  26. def withInitialTimeMillis(value: Long): ZTestEnvironmentOptions

    Set the initial time for the workflow virtual clock, milliseconds since epoch.

    Set the initial time for the workflow virtual clock, milliseconds since epoch.

    Default is current time

  27. def withMetricsScope(value: com.uber.m3.tally.Scope): ZTestEnvironmentOptions

    Sets the scope to be used for metrics reporting.

    Sets the scope to be used for metrics reporting. Optional. Default is to not report metrics.

    Note: Don't mock Scope in tests! If you need to verify the metrics behavior, create a real Scope and mock, stub or spy a reporter instance:

    value

    the scope to be used for metrics reporting.

  28. def withTarget(value: String): ZTestEnvironmentOptions

    Optional parameter that defines an endpoint which will be used for the communication with standalone temporal service.

    Optional parameter that defines an endpoint which will be used for the communication with standalone temporal service. Has no effect if withUseExternalService is set to false.

    Defaults to 127.0.0.1:7233

  29. def withUseExternalService(value: Boolean): ZTestEnvironmentOptions

    Set to true in order to make test environment use external temporal service or false for in-memory test implementation.

  30. def withUseTimeskipping(value: Boolean): ZTestEnvironmentOptions

    Sets whether the TestWorkflowEnvironment will timeskip.

    Sets whether the TestWorkflowEnvironment will timeskip. If true, no actual wall-clock time will pass when a workflow sleeps or sets a timer.

    Default is true

  31. def withWorkerFactoryOptions(value: ZWorkerFactoryOptions): ZTestEnvironmentOptions
  32. def withWorkflowClientOptions(value: ZWorkflowClientOptions): ZTestEnvironmentOptions
  33. val workerFactoryOptions: ZWorkerFactoryOptions
  34. val workflowClientOptions: ZWorkflowClientOptions

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped