Companion
Functions
Link copied to clipboard
fun of(manifest: Manifest, contexts: Set<String>, policies: List<AccessPolicy<*>>, aggregatesOf: (Class<*>) -> List<AggregateType>, strict: Boolean = true): AccessPolicies
The access policies policies of the aggregates of manifest in contexts, each resolved to the aggregate aggregatesOf gives for its state type (the types whose state is of that class), or the one it names. It refuses, naming the policy or the aggregate: