Class PrefixedMessageMapper<T>


  • public class PrefixedMessageMapper<T>
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      PrefixedMessageMapper​(java.lang.String prefix, java.util.function.Function<T,​java.lang.String> messageMapper)  
      PrefixedMessageMapper​(java.lang.String prefix, java.util.function.Function<T,​java.lang.String> messageMapper, java.lang.String suffix)  
      PrefixedMessageMapper​(java.util.function.Function<T,​java.lang.String> messageMapper)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.function.Function<T,​java.lang.String> getMessageMapper()  
      java.lang.String getPrefix()  
      java.lang.String getSuffix()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PrefixedMessageMapper

        public PrefixedMessageMapper​(java.util.function.Function<T,​java.lang.String> messageMapper)
      • PrefixedMessageMapper

        public PrefixedMessageMapper​(java.lang.String prefix,
                                     java.util.function.Function<T,​java.lang.String> messageMapper)
      • PrefixedMessageMapper

        public PrefixedMessageMapper​(java.lang.String prefix,
                                     java.util.function.Function<T,​java.lang.String> messageMapper,
                                     java.lang.String suffix)
    • Method Detail

      • getPrefix

        public java.lang.String getPrefix()
      • getMessageMapper

        public java.util.function.Function<T,​java.lang.String> getMessageMapper()
      • getSuffix

        public java.lang.String getSuffix()