类 TextDispatcher<MSG,RECEIVER,SELF extends TextDispatcher<MSG,RECEIVER,SELF>>

java.lang.Object
cc.carm.lib.configuration.value.text.function.ContentHandler<RECEIVER,SELF>
cc.carm.lib.configuration.value.text.function.TextParser<RECEIVER,SELF>
cc.carm.lib.configuration.value.text.function.TextCompiler<MSG,RECEIVER,SELF>
cc.carm.lib.configuration.value.text.function.TextDispatcher<MSG,RECEIVER,SELF>
所有已实现的接口:
Insertable<RECEIVER,SELF>, Replaceable<RECEIVER,SELF>
直接已知子类:
PreparedText

public abstract class TextDispatcher<MSG,RECEIVER,SELF extends TextDispatcher<MSG,RECEIVER,SELF>> extends TextCompiler<MSG,RECEIVER,SELF>
  • 字段详细资料

  • 构造器详细资料

    • TextDispatcher

      public TextDispatcher()
  • 方法详细资料

    • dispatcher

      public SELF dispatcher(@NotNull @NotNull BiConsumer<RECEIVER,List<MSG>> dispatcher)
      Set the dispatcher to send the message to the receiver
      参数:
      dispatcher - the dispatcher
      返回:
      TextDispatcher
    • to

      @SafeVarargs public final void to(@NotNull @NotNull RECEIVER... receivers)
      Dispatch the message to the receiver
      参数:
      receivers - the receivers
    • to

      public void to(@NotNull @NotNull Iterable<? extends RECEIVER> receivers)
      Dispatch the message to the receiver
      参数:
      receivers - the receivers
    • to

      public void to(@NotNull @NotNull Supplier<Iterable<? extends RECEIVER>> receivers)
      Dispatch the message to the receiver
      参数:
      receivers - the receivers