FunctionInfo

Represents information about a function in the messaging system.

This interface combines function naming and identification with function kind classification, providing complete metadata about functions that process messages. Functions are identified by their kind (command, event, etc.), context, processor, and name, allowing for precise routing and invocation.

Inheritors

Properties

Link copied to clipboard
abstract val contextName: String

The name of the bounded context this entity belongs to.

Link copied to clipboard

The function kind associated with this entity.

Link copied to clipboard
abstract override val name: String

The name of the function.

Link copied to clipboard
abstract val processorName: String

The name of the processor.

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.