Interface CaptionRegistry<C>

Type Parameters:
C - Command sender type
All Known Subinterfaces:
FactoryDelegatingCaptionRegistry<C>
All Known Implementing Classes:
SimpleCaptionRegistry

@API(status=STABLE) public interface CaptionRegistry<C>
Registry that allows for messages to be configurable per-sender
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull String
    getCaption(@NonNull Caption caption, @NonNull C sender)
    Get a caption for a specific sender
  • Method Details

    • getCaption

      @NonNull String getCaption(@NonNull Caption caption, @NonNull C sender)
      Get a caption for a specific sender
      Parameters:
      caption - Caption key
      sender - Sender
      Returns:
      Caption