StateManifest

class StateManifest @InternalWowApi constructor(val schema: String, val fingerprint: String? = null, val view: String? = null)

The aggregate's state: its schema, and the fingerprint a snapshot written under it carries; the fingerprint is null until the schemas are generated. In a peer contract, view is the binary name of the <State>View the api module generates of it (PeerContracts.viewsOf), which a reader finds the view by: null for a state the contract has no view of, and in a service's own Manifest.

Fields may be added: pass the constructor's arguments by name.

Constructors

Link copied to clipboard
constructor(schema: String, fingerprint: String? = null, view: String? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val view: String?

Functions

Link copied to clipboard
fun StateManifest.copyWith(schema: String = this.schema, fingerprint: String? = this.fingerprint, view: String? = this.view): StateManifest
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String