BaseWorker

orchescala.worker.BaseWorker
trait BaseWorker[In <: Product, Out <: Product] extends WorkerDsl[In, Out]

Attributes

Graph
Supertypes
trait WorkerDsl[In, Out]
class Object
trait Matchable
class Any

Members list

Type members

Classlikes

case class BusinessKey(businessKey: Option[String])

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object BusinessKey

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

protected def executeWithScope[T](jobId: String)(execution: ZIO[SttpClientBackend, Throwable, T]): Unit
protected def extractBusinessKey(json: Json): ZIO[Any, ValidatorError, String]
protected def extractGeneralVariables(json: Json): ZIO[Any, ValidatorError, GeneralVariables]
protected def isErrorHandled(error: WorkerError, handledErrors: Seq[String]): Boolean
protected def processVariable(key: String, json: Json): IO[BadVariableError, (String, Option[Json])]

Inherited methods

protected def filteredOutput(outputVariables: Seq[String], allOutputs: Map[String, Any]): Map[String, Any]

Attributes

Inherited from:
WorkerDsl
protected def regexMatchesAll(errorHandled: Boolean, error: WorkerError, regexHandledErrors: Seq[String]): Boolean

Attributes

Inherited from:
WorkerDsl
def runWorkFromWorker(in: In)(using EngineRunContext): ZIO[SttpClientBackend, WorkerError, Out | NoOutput]

Attributes

Inherited from:
WorkerDsl

Attributes

Inherited from:
WorkerDsl
def timeout: Duration

Attributes

Inherited from:
WorkerDsl
def topic: String

Attributes

Inherited from:
WorkerDsl

Inherited and Abstract methods

def worker: Worker[In, Out, _]

Attributes

Inherited from:
WorkerDsl

Extensions

Inherited extensions

extension [T](option: Option[T])
def toEither[E <: WorkerError](error: E): Either[E, T]

Attributes

Inherited from:
WorkerDsl
def toIO[E <: WorkerError](error: E): IO[E, T]

Attributes

Inherited from:
WorkerDsl