CustomWorker

camundala.worker.CustomWorker
case class CustomWorker[In <: Product, Out <: Product](inOutExample: CustomTask[In, Out], validationHandler: Option[ValidationHandler[In]], runWorkHandler: Option[RunWorkHandler[In, Out]])(implicit evidence$1: Codec[In], evidence$2: Codec[Out]) extends Worker[In, Out, CustomWorker[In, Out]]

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Worker[In, Out, CustomWorker[In, Out]]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def executor(using context: EngineRunContext): WorkerExecutor[In, Out, CustomWorker[In, Out]]
def runWork(serviceHandler: CustomHandler[In, Out]): CustomWorker[In, Out]
def validate(validator: ValidationHandler[In]): CustomWorker[In, Out]

Inherited methods

def defaultMock(in: In)(using context: EngineRunContext): MockerError | MockedOutput

Attributes

Inherited from:
Worker

Attributes

Inherited from:
Worker
def otherEnumInExamples: Option[Seq[In]]

Attributes

Inherited from:
Worker
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
def variableNames: Seq[String]

Attributes

Inherited from:
Worker

Concrete fields

lazy val topic: String

Inherited fields

lazy val in: In

Attributes

Inherited from:
Worker
lazy val out: Out

Attributes

Inherited from:
Worker