PeerCommand

class PeerCommand(val name: String, val type: Class<*>?, val creation: Creation, val idProperty: String? = null, val builtIn: Boolean = false)

A command type of a peer context's contract: its full name (ctx.agg.Command, or a system command's system name, wow.lifecycle.TransferOwner), its class, when on the class path (type), whether it creates its aggregate (creation), and the property of its body that holds its aggregate's id (idProperty; null for one whose request names it).

Constructors

Link copied to clipboard
constructor(name: String, type: Class<*>?, creation: Creation, idProperty: String? = null, builtIn: Boolean = false)

Properties

Link copied to clipboard

Whether it is a command of the peer's built-in aggregates (its rebuild, its jobs), which this node does not relay.

Link copied to clipboard

The command type, for authorization and validation; null when its class is not on the class path.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val type: Class<*>?