final class AddWorkflowDsl[I] extends AnyRef
Allows building workers
- Alphabetic
- By Inheritance
- AddWorkflowDsl
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def from(cls: Class[I], f: () => I): UIO[ZWorker]
Configures a factory to use when an instance of a workflow implementation is created.
Configures a factory to use when an instance of a workflow implementation is created. The only valid use for this method is unit testing, specifically to instantiate mocks that implement child workflows. An example of mocking a child workflow:
- cls
workflow interface class
- f
should create a workflow implementation
- See also
Worker#addWorkflowImplementationFactory
- def from[A <: I](f: => A)(implicit ctg: ClassTag[I]): UIO[ZWorker]
Configures a factory to use when an instance of a workflow implementation is created.
Configures a factory to use when an instance of a workflow implementation is created. The only valid use for this method is unit testing, specifically to instantiate mocks that implement child workflows. An example of mocking a child workflow:
- A
workflow interface implementation
- f
should create a workflow implementation
- ctg
workflow interface class tag
- See also
Worker#addWorkflowImplementationFactory
- def fromClass(cls: Class[I])(implicit isConcreteClass: IsConcreteClass[I], hasPublicNullaryConstructor: HasPublicNullaryConstructor[I]): UIO[ZWorker]
Registers workflow implementation classes with a worker.
Registers workflow implementation classes with a worker. Can be called multiple times to add more types.
- cls
workflow interface class tag
- See also
Worker#registerWorkflowImplementationTypes
- def fromClass(implicit ctg: ClassTag[I], isConcreteClass: IsConcreteClass[I], hasPublicNullaryConstructor: HasPublicNullaryConstructor[I]): UIO[ZWorker]
Registers workflow implementation classes with a worker.
Registers workflow implementation classes with a worker. Can be called multiple times to add more types.
- ctg
workflow interface class tag
- See also
Worker#registerWorkflowImplementationTypes
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @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
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- 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 withOptions(value: ZWorkflowImplementationOptions): AddWorkflowDsl[I]
Specifies workflow implementation options for the worker
Specifies workflow implementation options for the worker
- value
custom workflow implementation options for a worker
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)