Packages

case class Handler(loc: Location, id: Identifier, stateName: Option[Identifier] = None, clauses: Seq[OnClause] = Seq.empty[OnClause], brief: Option[LiteralString] = Option.empty[LiteralString], description: Option[Description] = None) extends ParentDefOf[OnClause] with ContextDefinition with EntityDefinition with Product with Serializable

A named handler of messages (commands, events, queries) that bundles together a set of OnClause definitions and by doing so defines the behavior of an entity. Note that entities may define multiple handlers and switch between them to change how it responds to messages over time or in response to changing conditions

loc

The location of the handler definition

id

The name of the handler.

clauses

The set of OnClause definitions that define how the entity responds to received messages.

brief

A brief description (one sentence) for use in documentation

description

An optional description of the handler

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Handler
  2. Serializable
  3. Product
  4. Equals
  5. EntityDefinition
  6. ContextDefinition
  7. ParentDefOf
  8. Container
  9. Definition
  10. BrieflyDescribedValue
  11. DescribedValue
  12. RiddlValue
  13. RiddlNode
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new Handler(loc: Location, id: Identifier, stateName: Option[Identifier] = None, clauses: Seq[OnClause] = Seq.empty[OnClause], brief: Option[LiteralString] = Option.empty[LiteralString], description: Option[Description] = None)

    loc

    The location of the handler definition

    id

    The name of the handler.

    clauses

    The set of OnClause definitions that define how the entity responds to received messages.

    brief

    A brief description (one sentence) for use in documentation

    description

    An optional description of the handler

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. val brief: Option[LiteralString]
    Definition Classes
    HandlerBrieflyDescribedValue
  6. val clauses: Seq[OnClause]
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  8. def contents: Seq[OnClause]
    Definition Classes
    HandlerContainer
  9. val description: Option[Description]
    Definition Classes
    HandlerDescribedValue
  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def format: String
    Definition Classes
    RiddlNode
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. val id: Identifier
    Definition Classes
    HandlerDefinition
  14. def identify: String
    Definition Classes
    Definition
  15. def identifyWithLoc: String
    Definition Classes
    Definition
  16. def isContainer: Boolean
    Definition Classes
    ContainerRiddlValue
  17. def isEmpty: Boolean
    Definition Classes
    HandlerContainerRiddlNode
  18. def isImplicit: Boolean
    Definition Classes
    Definition
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def isRootContainer: Boolean
    Definition Classes
    Container
  21. def kind: String
    Definition Classes
    Definition
  22. def kindId: String
    Definition Classes
    Definition
  23. val loc: Location
    Definition Classes
    HandlerRiddlValue
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. def nonEmpty: Boolean
    Definition Classes
    RiddlNode
    Annotations
    @deprecatedOverriding()
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  28. def productElementNames: Iterator[String]
    Definition Classes
    Product
  29. val stateName: Option[Identifier]
  30. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from EntityDefinition

Inherited from ContextDefinition

Inherited from ParentDefOf[OnClause]

Inherited from Container[OnClause]

Inherited from Definition

Inherited from BrieflyDescribedValue

Inherited from DescribedValue

Inherited from RiddlValue

Inherited from RiddlNode

Inherited from AnyRef

Inherited from Any

Ungrouped