Interface CarbonChannelRegisterEvent
- All Superinterfaces:
CarbonEvent
@DefaultQualifier(org.checkerframework.checker.nullness.qual.NonNull.class)
public interface CarbonChannelRegisterEvent
extends CarbonEvent
CarbonEvent that's called after new channels are registered.
Note that some invocations of this event may be too early for
API consumers to be notified. ChannelRegistry.allKeys(Consumer)
is provided as a helper for when knowledge of all registered channels
is needed.
- Since:
- 3.0.0
-
Method Summary
Modifier and TypeMethodDescriptionGets the channel registry.Gets the key(s) that were registered to trigger this event.
-
Method Details
-
channelRegistry
ChannelRegistry channelRegistry()Gets the channel registry.- Returns:
- the channel registry
- Since:
- 3.0.0
-
registered
Gets the key(s) that were registered to trigger this event.- Returns:
- key(s) registered
- Since:
- 3.0.0
-