case class Saga(loc: Location, id: Identifier, options: Seq[SagaOption] = Seq.empty[SagaOption], input: Option[Aggregation], output: Option[Aggregation], sagaSteps: Seq[SagaStep] = Seq.empty[SagaStep], brief: Option[LiteralString] = Option.empty[LiteralString], description: Option[Description] = None) extends ParentDefOf[SagaStep] with OptionsDef[SagaOption] with ContextDefinition with Product with Serializable
The definition of a Saga based on inputs, outputs, and the set of SagaSteps involved in the saga. Sagas define a computing action based on a variety of related commands that must all succeed atomically or have their effects undone.
- loc
The location of the Saga definition
- id
The name of the saga
- options
The options of the saga
- input
A definition of the aggregate input values needed to invoke the saga, if any.
- output
A definition of the aggregate output values resulting from invoking the saga, if any.
- sagaSteps
The set of SagaSteps that comprise the saga.
- brief
A brief description (one sentence) for use in documentation
- description
An optional description of the saga.
- Alphabetic
- By Inheritance
- Saga
- Serializable
- Product
- Equals
- ContextDefinition
- OptionsDef
- ParentDefOf
- Container
- Definition
- BrieflyDescribedValue
- DescribedValue
- RiddlValue
- RiddlNode
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Saga(loc: Location, id: Identifier, options: Seq[SagaOption] = Seq.empty[SagaOption], input: Option[Aggregation], output: Option[Aggregation], sagaSteps: Seq[SagaStep] = Seq.empty[SagaStep], brief: Option[LiteralString] = Option.empty[LiteralString], description: Option[Description] = None)
- loc
The location of the Saga definition
- id
The name of the saga
- options
The options of the saga
- input
A definition of the aggregate input values needed to invoke the saga, if any.
- output
A definition of the aggregate output values resulting from invoking the saga, if any.
- sagaSteps
The set of SagaSteps that comprise the saga.
- brief
A brief description (one sentence) for use in documentation
- description
An optional description of the saga.
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
- val brief: Option[LiteralString]
- Definition Classes
- Saga → BrieflyDescribedValue
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- lazy val contents: Seq[SagaStep]
- val description: Option[Description]
- Definition Classes
- Saga → DescribedValue
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def format: String
- Definition Classes
- OptionsDef → RiddlNode
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hasOption[OPT <: SagaOption](implicit arg0: ClassTag[OPT]): Boolean
- Definition Classes
- OptionsDef
- val id: Identifier
- Definition Classes
- Saga → Definition
- def identify: String
- Definition Classes
- Definition
- def identifyWithLoc: String
- Definition Classes
- Definition
- val input: Option[Aggregation]
- def isContainer: Boolean
- Definition Classes
- Container → RiddlValue
- def isEmpty: Boolean
- Definition Classes
- Saga → OptionsDef → Container → RiddlNode
- def isImplicit: Boolean
- Definition Classes
- Definition
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isRootContainer: Boolean
- Definition Classes
- Container
- def kind: String
- Definition Classes
- Definition
- def kindId: String
- Definition Classes
- Definition
- val loc: Location
- Definition Classes
- Saga → RiddlValue
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nonEmpty: Boolean
- Definition Classes
- RiddlNode
- Annotations
- @deprecatedOverriding()
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val options: Seq[SagaOption]
- Definition Classes
- Saga → OptionsDef
- val output: Option[Aggregation]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val sagaSteps: Seq[SagaStep]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- 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])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated