registerEntry

Registers a new Entry with one or more names.

Parameters

names

One or more names to associate with the action entry.

entry

The action entry instance.

Throws

if no valid (non-empty) names are provided.


fun registerEntry(names: Set<String>, entryBlock: () -> ActionRegistry.Entry)(source)

Registers a new Entry using an initialization block for lazy creation.

Parameters

names

One or more names to associate with the action entry.

entryBlock

A lambda that returns the Entry when first executed.

Throws

if no valid (non-empty) names are provided.