ServiceTask

orchescala.domain.ServiceTask
case class ServiceTask[In <: Product, Out <: Product, ServiceIn, ServiceOut](inOutDescr: InOutDescr[In, Out], defaultServiceOutMock: MockedServiceResponse[ServiceOut], serviceInExample: ServiceIn, otherEnumInExamples: Option[Seq[In]], otherEnumOutExamples: Option[Seq[Out]], dynamicServiceOutMock: Option[In => MockedServiceResponse[ServiceOut]], processName: String, outputMock: Option[Out], servicesMocked: Boolean, outputServiceMock: Option[MockedServiceResponse[ServiceOut]], outputVariables: Seq[String], manualOutMapping: Boolean, handledErrors: Seq[ErrorCodeType], regexHandledErrors: Seq[String], impersonateUserId: Option[String])(using evidence$1: Encoder[In], evidence$2: Decoder[In], evidence$3: Schema[In], evidence$4: Encoder[Out], evidence$5: Decoder[Out], evidence$6: Schema[Out], evidence$7: Encoder[ServiceIn], evidence$8: Decoder[ServiceIn], evidence$9: Encoder[ServiceOut], evidence$10: Decoder[ServiceOut]) extends ExternalTask[In, Out, ServiceTask[In, Out, ServiceIn, ServiceOut]]

Attributes

Graph
Supertypes
trait Serializable
trait ExternalTask[In, Out, ServiceTask[In, Out, ServiceIn, ServiceOut]]
trait ProcessOrExternalTask[In, Out, ServiceTask[In, Out, ServiceIn, ServiceOut]]
trait InOut[In, Out, ServiceTask[In, Out, ServiceIn, ServiceOut]]
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def camundaInMap: Map[String, CamundaVariable]

Attributes

Definition Classes
def handleError(errorCode: ErrorCodeType): ServiceTask[In, Out, ServiceIn, ServiceOut]
def handleErrorWithRegex(regex: String): ServiceTask[In, Out, ServiceIn, ServiceOut]
def handleErrors(errorCodes: ErrorCodeType*): ServiceTask[In, Out, ServiceIn, ServiceOut]
def mockServiceWith(outputServiceMock: MockedServiceResponse[ServiceOut]): ServiceTask[In, Out, ServiceIn, ServiceOut]
def mockServiceWith(outputServiceMock: ServiceOut): ServiceTask[In, Out, ServiceIn, ServiceOut]
def mockServicesWithDefault: ServiceTask[In, Out, ServiceIn, ServiceOut]
def mockWith(outputMock: Out): ServiceTask[In, Out, ServiceIn, ServiceOut]
def mockWith(outputMock: In => MockedServiceResponse[ServiceOut]): ServiceTask[In, Out, ServiceIn, ServiceOut]
def withEnumInExample(enumInExample: In): ServiceTask[In, Out, ServiceIn, ServiceOut]
def withEnumInExamples(enumInExamples: In*): ServiceTask[In, Out, ServiceIn, ServiceOut]
def withEnumOutExample(enumOutExample: Out): ServiceTask[In, Out, ServiceIn, ServiceOut]
def withEnumOutExamples(enumOutExamples: Out*): ServiceTask[In, Out, ServiceIn, ServiceOut]
def withImpersonateUserId(impersonateUserId: String): ServiceTask[In, Out, ServiceIn, ServiceOut]
def withInOutDescr(descr: InOutDescr[In, Out]): ServiceTask[In, Out, ServiceIn, ServiceOut]
def withManualOutMapping: ServiceTask[In, Out, ServiceIn, ServiceOut]
def withOutputVariable(processName: String): ServiceTask[In, Out, ServiceIn, ServiceOut]
def withOutputVariables(names: String*): ServiceTask[In, Out, ServiceIn, ServiceOut]
def withProcessName(processName: String): ServiceTask[In, Out, ServiceIn, ServiceOut]

Inherited methods

Attributes

Inherited from:
ProcessOrExternalTask

Attributes

Inherited from:
InOut
def label: String

Attributes

Inherited from:
ProcessElement
protected def mockedWorkers: Seq[String]

Attributes

Inherited from:
ExternalTask
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final override def topicName: String

Attributes

Definition Classes
Inherited from:
ExternalTask
def typeName: String

Attributes

Inherited from:
ProcessElement
def withDescr(description: String): ServiceTask[In, Out, ServiceIn, ServiceOut]

Attributes

Inherited from:
InOut
def withId(i: String): ServiceTask[In, Out, ServiceIn, ServiceOut]

Attributes

Inherited from:
InOut
def withIn(inFunct: In => In): ServiceTask[In, Out, ServiceIn, ServiceOut]

Attributes

Inherited from:
InOut
def withIn(in: In): ServiceTask[In, Out, ServiceIn, ServiceOut]

Attributes

Inherited from:
InOut
def withOut(outFunct: Out => Out): ServiceTask[In, Out, ServiceIn, ServiceOut]

Attributes

Inherited from:
InOut
def withOut(out: Out): ServiceTask[In, Out, ServiceIn, ServiceOut]

Attributes

Inherited from:
InOut

Concrete fields

lazy val dynamicOutMock: Option[In => Out]

Deprecated fields

lazy val serviceName: String

Attributes

Deprecated
Use _topicName_

Inherited fields

lazy val camundaOutMap: Map[String, CamundaVariable]

Attributes

Inherited from:
InOut
lazy val descr: Option[String]

Attributes

Inherited from:
InOut
lazy val id: String

Attributes

Inherited from:
InOut
lazy val in: In

Attributes

Inherited from:
InOut
lazy val inAsJson: Json

Attributes

Inherited from:
InOut
lazy val inOutType: InOutType

Attributes

Inherited from:
ExternalTask
lazy val inVariableNames: Seq[String]

Attributes

Inherited from:
InOut
lazy val inVariables: Seq[(String, Any)]

Attributes

Inherited from:
InOut
lazy val niceName: String

Attributes

Inherited from:
InOut
lazy val out: Out

Attributes

Inherited from:
InOut
lazy val outAsJson: Json

Attributes

Inherited from:
InOut
lazy val outVariableNames: Seq[String]

Attributes

Inherited from:
InOut
lazy val outVariables: Seq[(String, Any)]

Attributes

Inherited from:
InOut