Package cloud.commandframework.captions
Interface FactoryDelegatingCaptionRegistry<C>
-
- Type Parameters:
C
- Command sender type
- All Superinterfaces:
CaptionRegistry<C>
- All Known Implementing Classes:
SimpleCaptionRegistry
public interface FactoryDelegatingCaptionRegistry<C> extends CaptionRegistry<C>
Caption registry that delegates to factory methods
-
-
Method Summary
Modifier and Type Method Description void
registerMessageFactory(@NonNull Caption caption, @NonNull java.util.function.BiFunction<Caption,C,java.lang.String> factory)
Register a message factory-
Methods inherited from interface cloud.commandframework.captions.CaptionRegistry
getCaption
-
-