Package-level declarations

Containers for representing activity directives and instants.

Currently, there is no specialization for activity types, and all directives and instants use AnyDirective and AnyInstance, respectively. These classes represent arguments and computed attributes using SerializedValue.

Types

Link copied to clipboard

Unifying interface for activity instances and directives.

Link copied to clipboard
data class AnyDirective(val arguments: Map<String, SerializedValue>)

A general-purpose container for representing the arguments any type of activity directive.

Link copied to clipboard
data class AnyInstance(val arguments: Map<String, SerializedValue>, val computedAttributes: SerializedValue)

A general-purpose container for representing the arguments and computed attributes of any type of activity instance.

Link copied to clipboard
data class Directive<A : Any>(val inner: A, val name: String, val id: ActivityDirectiveId, val type: String, val start: DirectiveStart) : Activity<Directive<A>>

A wrapper of any type of activity directive containing common data.

Link copied to clipboard
sealed interface DirectiveStart

Start behavior for an activity directive.

Link copied to clipboard
data class Instance<A : Any>(val inner: A, val type: String, val id: ActivityInstanceId, val directiveId: ActivityDirectiveId?, val parentId: ActivityInstanceId?, val interval: Interval) : Activity<Instance<A>>

A wrapper of any type of activity instance containing common data.