trait Options extends AbstractDefinitions
Option definitions for Vitals
- Alphabetic
- By Inheritance
- Options
- AbstractDefinitions
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- trait Action extends RiddlValue
Base class for all actions.
Base class for all actions. Actions are used in the "then" and "but" clauses of a Gherkin example such as in the body of a handler's
on
clause or in the definition of a Function. The subclasses define different kinds of actions that can be used.- Definition Classes
- AbstractDefinitions
- trait AlwaysEmpty extends Definition
- Definition Classes
- AbstractDefinitions
- case class BlockDescription(loc: At = At.empty, lines: Seq[LiteralString] = Seq.empty[LiteralString]) extends Description with Product with Serializable
- Definition Classes
- AbstractDefinitions
- trait BrieflyDescribedValue extends RiddlValue
- Definition Classes
- AbstractDefinitions
- trait Container[+D <: RiddlValue] extends RiddlValue
Base trait of any definition that is also a ContainerValue
Base trait of any definition that is also a ContainerValue
- D
The kind of definition that is contained by the container
- Definition Classes
- AbstractDefinitions
- trait Definition extends DescribedValue with BrieflyDescribedValue with Container[Definition]
Base trait for all definitions requiring an identifier for the definition and providing the identify method to yield a string that provides the kind and name
Base trait for all definitions requiring an identifier for the definition and providing the identify method to yield a string that provides the kind and name
- Definition Classes
- AbstractDefinitions
- trait DescribedValue extends RiddlValue
Base trait of all values that have an optional Description
Base trait of all values that have an optional Description
- Definition Classes
- AbstractDefinitions
- trait Description extends RiddlValue
The description of a definition.
The description of a definition. All definitions have a name and an optional description. This class provides the description part.
- Definition Classes
- AbstractDefinitions
- case class FileDescription(loc: At, file: Path) extends Description with Product with Serializable
- Definition Classes
- AbstractDefinitions
- trait FunctionDefinition extends Definition
Base trait of any definition that is in the content of a function.
Base trait of any definition that is in the content of a function.
- Definition Classes
- AbstractDefinitions
- trait GherkinClause extends GherkinValue
Base class of one of the four Gherkin clauses (Given, When, Then, But)
Base class of one of the four Gherkin clauses (Given, When, Then, But)
- Definition Classes
- AbstractDefinitions
- trait GherkinValue extends RiddlValue
Base class of any Gherkin value
Base class of any Gherkin value
- Definition Classes
- AbstractDefinitions
- case class Identifier(loc: At, value: String) extends RiddlValue with Product with Serializable
A RiddlValue that is a parsed identifier, typically the name of a definition.
A RiddlValue that is a parsed identifier, typically the name of a definition.
- loc
The location in the input where the identifier starts
- value
The parsed value of the identifier
- Definition Classes
- AbstractDefinitions
- trait LeafDefinition extends Definition
- Definition Classes
- AbstractDefinitions
- case class LiteralString(loc: At, s: String) extends RiddlValue with Product with Serializable
Represents a literal string parsed between quote characters in the input
Represents a literal string parsed between quote characters in the input
- loc
The location in the input of the opening quote character
- s
The parsed value of the string content
- Definition Classes
- AbstractDefinitions
- case class PathIdentifier(loc: At, value: Seq[String]) extends RiddlValue with Product with Serializable
Represents a segmented identifier to a definition in the model.
Represents a segmented identifier to a definition in the model. Path Identifiers are parsed from a dot-separated list of identifiers in the input. Path identifiers are used to reference other definitions in the model.
- loc
Location in the input of the first letter of the path identifier
- value
The list of strings that make up the path identifier
- Definition Classes
- AbstractDefinitions
- trait ProjectionDefinition extends Definition
Base trait of any definition that occurs in the body of a projection
Base trait of any definition that occurs in the body of a projection
- Definition Classes
- AbstractDefinitions
- abstract class Reference[+T <: Definition] extends RiddlValue
A reference to a definition of a specific type.
A reference to a definition of a specific type.
- T
The type of definition to which the references refers.
- Definition Classes
- AbstractDefinitions
- trait RiddlNode extends AnyRef
The root trait of all things RIDDL AST.
The root trait of all things RIDDL AST. Every node in the tree is a RiddlNode.
- Definition Classes
- AbstractDefinitions
- trait RiddlValue extends RiddlNode
The root trait of all parsable values.
The root trait of all parsable values. If a parser returns something, its a RiddlValue. The distinguishing factor is the inclusion of the parsing location given by the
loc
field.- Definition Classes
- AbstractDefinitions
- trait SagaDefinition extends Definition
Base trait of definitions that are part of a Saga Definition
Base trait of definitions that are part of a Saga Definition
- Definition Classes
- AbstractDefinitions
- trait StateDefinition extends Definition
Base trait of definitions that are part of a Saga Definition
Base trait of definitions that are part of a Saga Definition
- Definition Classes
- AbstractDefinitions
- case class URLDescription(loc: At, url: URL) extends Description with Product with Serializable
- Definition Classes
- AbstractDefinitions
- sealed abstract class AdaptorOption extends OptionValue
- case class AdaptorTechnologyOption(loc: At, args: Seq[Options.LiteralString]) extends AdaptorOption with Product with Serializable
- sealed abstract class ApplicationOption extends OptionValue
- case class ApplicationTechnologyOption(loc: At, args: Seq[Options.LiteralString] = Seq.empty[LiteralString]) extends ApplicationOption with Product with Serializable
- sealed abstract class ConnectorOption extends OptionValue
- case class ConnectorPersistentOption(loc: At) extends ConnectorOption with Product with Serializable
- case class ConnectorTechnologyOption(loc: At, args: Seq[Options.LiteralString]) extends ConnectorOption with Product with Serializable
- sealed abstract class ContextOption extends OptionValue
Base trait for all options a Context can have.
- case class ContextPackageOption(loc: At, args: Seq[Options.LiteralString]) extends ContextOption with Product with Serializable
- case class ContextTechnologyOption(loc: At, args: Seq[Options.LiteralString]) extends ContextOption with Product with Serializable
- case class DomainExternalOption(loc: At) extends DomainOption with Product with Serializable
- sealed abstract class DomainOption extends OptionValue
Base trait for all options a Domain can have.
- case class DomainPackageOption(loc: At, args: Seq[Options.LiteralString]) extends DomainOption with Product with Serializable
A context's "wrapper" option.
A context's "wrapper" option. This option suggests the bounded context is to be used as a wrapper around an external system and is therefore at the boundary of the context map
- loc
The location of the wrapper option
- case class DomainTechnologyOption(loc: At, args: Seq[Options.LiteralString]) extends DomainOption with Product with Serializable
- case class EntityEventSourced(loc: At) extends EntityOption with Product with Serializable
An EntityOption that indicates that this entity should store its state in an event sourced fashion.
An EntityOption that indicates that this entity should store its state in an event sourced fashion.
- loc
The location of the option.
- case class EntityIsAggregate(loc: At) extends EntityOption with Product with Serializable
An EntityOption that indicates that this entity is an aggregate root entity through which all commands and queries are sent on behalf of the aggregated entities.
An EntityOption that indicates that this entity is an aggregate root entity through which all commands and queries are sent on behalf of the aggregated entities.
- loc
The location of the option
- case class EntityIsAvailable(loc: At) extends EntityOption with Product with Serializable
A EntityOption that indicates that this entity favors availability over consistency in the CAP theorem.
A EntityOption that indicates that this entity favors availability over consistency in the CAP theorem.
- loc
The location of the option.
- case class EntityIsConsistent(loc: At) extends EntityOption with Product with Serializable
An EntityOption that indicates that this entity favors consistency over availability in the CAP theorem.
An EntityOption that indicates that this entity favors consistency over availability in the CAP theorem.
- loc
The location of the option.
- case class EntityIsDevice(loc: At) extends EntityOption with Product with Serializable
- case class EntityIsFiniteStateMachine(loc: At) extends EntityOption with Product with Serializable
An EntityOption that indicates that this entity is intended to implement a finite state machine.
An EntityOption that indicates that this entity is intended to implement a finite state machine.
- loc
The location of the option.
- case class EntityKind(loc: At, args: Seq[Options.LiteralString]) extends EntityOption with Product with Serializable
An EntityOption that indicates the general kind of entity being defined.
An EntityOption that indicates the general kind of entity being defined. This option takes a value which provides the kind. Examples of useful kinds are "device", "actor", "concept", "machine", and similar kinds of entities. This entity option may be used by downstream AST processors, especially code generators.
- loc
The location of the entity kind option
- args
The argument to the option
- case class EntityMessageQueue(loc: At) extends EntityOption with Product with Serializable
An EntityOption that indicates that this entity should allow receipt of commands and queries via a message queue.
An EntityOption that indicates that this entity should allow receipt of commands and queries via a message queue.
- loc
The location at which this option occurs.
- sealed abstract class EntityOption extends EntityValue with OptionValue
Abstract base class of options for entities
- case class EntityTechnologyOption(loc: At, args: Seq[Options.LiteralString]) extends EntityOption with Product with Serializable
- case class EntityTransient(loc: At) extends EntityOption with Product with Serializable
An EntityOption that indicates that this entity should not persist its state and is only available in transient memory.
An EntityOption that indicates that this entity should not persist its state and is only available in transient memory. All entity values will be lost when the service is stopped.
- loc
The location of the option.
- sealed trait EntityValue extends RiddlValue
Base trait of any value used in the definition of an entity
- case class EntityValueOption(loc: At) extends EntityOption with Product with Serializable
An EntityOption that indicates that this entity should store only the latest value without using event sourcing.
An EntityOption that indicates that this entity should store only the latest value without using event sourcing. In other words, the history of changes is not stored.
- loc
The location of the option
- sealed abstract class FunctionOption extends OptionValue
Base class of all function options
- case class GatewayOption(loc: At) extends ContextOption with Product with Serializable
A context's "gateway" option that suggests the bounded context is intended to be an application gateway to the model.
A context's "gateway" option that suggests the bounded context is intended to be an application gateway to the model. Gateway's provide authentication and authorization access to external systems, usually user applications.
- loc
The location of the gateway option
- sealed abstract class HandlerOption extends OptionValue
- trait OptionValue extends RiddlValue
Base trait for option values for any option of a definition.
- case class ParallelOption(loc: At) extends SagaOption with Product with Serializable
A SagaOption that indicates parallel execution of the saga actions.
A SagaOption that indicates parallel execution of the saga actions.
- loc
The location of the parallel option
- case class PartialHandlerOption(loc: At) extends HandlerOption with Product with Serializable
- sealed abstract class ProjectionOption extends OptionValue
- case class ProjectionTechnologyOption(loc: At, args: Seq[Options.LiteralString]) extends ProjectionOption with Product with Serializable
- sealed abstract class RepositoryOption extends OptionValue
- case class RepositoryTechnologyOption(loc: At, args: Seq[Options.LiteralString]) extends RepositoryOption with Product with Serializable
- sealed abstract class SagaOption extends OptionValue
Base trait for all options applicable to a saga.
- case class SagaTechnologyOption(loc: At, args: Seq[Options.LiteralString]) extends SagaOption with Product with Serializable
- case class SequentialOption(loc: At) extends SagaOption with Product with Serializable
A SagaOption that indicates sequential (serial) execution of the saga actions.
A SagaOption that indicates sequential (serial) execution of the saga actions.
- loc
The location of the sequential option
- case class ServiceOption(loc: At) extends ContextOption with Product with Serializable
A context's "service" option.
A context's "service" option. This option suggests the bounded context is intended to be a DDD service, similar to a wrapper but without any persistent state and more of a stateless service aspect to its nature
- loc
The location at which the option occurs
- sealed abstract class StoryOption extends OptionValue
- case class StorySynchronousOption(loc: At) extends StoryOption with Product with Serializable
- case class StoryTechnologyOption(loc: At, args: Seq[Options.LiteralString]) extends StoryOption with Product with Serializable
- sealed abstract class StreamletOption extends OptionValue
- case class StreamletTechnologyOption(loc: At, args: Seq[Options.LiteralString]) extends StreamletOption with Product with Serializable
- case class TailRecursive(loc: At) extends FunctionOption with Product with Serializable
A function option to mark a function as being tail recursive
A function option to mark a function as being tail recursive
- loc
The location of the tail recursive option
- trait WithOptions[T <: OptionValue] extends Definition
Base trait that can be used in any definition that takes options and ensures the options are defined, can be queried, and formatted.
Base trait that can be used in any definition that takes options and ensures the options are defined, can be queried, and formatted.
- T
The sealed base trait of the permitted options for this definition
- case class WrapperOption(loc: At) extends ContextOption with Product with Serializable
A context's "wrapper" option.
A context's "wrapper" option. This option suggests the bounded context is to be used as a wrapper around an external system and is therefore at the boundary of the context map
- loc
The location of the wrapper option
Value Members
- object Identifier extends Serializable
- Definition Classes
- AbstractDefinitions
- object LiteralString extends Serializable
- Definition Classes
- AbstractDefinitions
- object PathIdentifier extends Serializable
- Definition Classes
- AbstractDefinitions
- 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]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- 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
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- 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])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated