FunctionInfoData

data class FunctionInfoData(val functionKind: FunctionKind, val contextName: String, val processorName: String, val name: String) : FunctionInfo, Materialized

Immutable data class representing complete function information.

This class provides a concrete, serializable implementation of FunctionInfo, containing all the metadata needed to identify and route to a specific function in the messaging system. It implements Materialized for efficient storage and transmission.

Constructors

Link copied to clipboard
constructor(functionKind: FunctionKind, contextName: String, processorName: String, name: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val contextName: String

The name of the bounded context this function belongs to

Link copied to clipboard
open override val functionKind: FunctionKind

The kind of function (command, event, etc.)

Link copied to clipboard
open override val name: String

The unique name of the function within its processor

Link copied to clipboard
open override val processorName: String

The name of the processor that handles this function

Functions

Link copied to clipboard
open fun isEmpty(): Boolean

Determines if this function info represents an empty or uninitialized state.

Link copied to clipboard

Checks if this entity belongs to the same bounded context as another entity.

Link copied to clipboard
open fun isSameFunction(functionInfo: FunctionInfo): Boolean

Determines if this function info represents the same function as another.

Link copied to clipboard

Converts this function info to a materialized FunctionInfoData instance.

Converts this named function info to a materialized NamedFunctionInfoData instance.