Package com.djrapitops.plan.commands.use
Interface MessageBuilder
-
- All Known Implementing Classes:
NukkitMessageBuilder
,SpongeMessageBuilder
,VelocityMessageBuilder
public interface MessageBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default MessageBuilder
addEach(java.lang.Iterable<java.lang.String> iterable)
MessageBuilder
addPart(java.lang.String msg)
default MessageBuilder
apply(java.util.function.UnaryOperator<MessageBuilder> operation)
MessageBuilder
command(java.lang.String command)
MessageBuilder
hover(java.lang.String text)
MessageBuilder
hover(java.lang.String... text)
MessageBuilder
hover(java.util.Collection<java.lang.String> text)
MessageBuilder
indent(int spaces)
MessageBuilder
link(java.lang.String address)
MessageBuilder
newLine()
void
send()
MessageBuilder
tabular(java.lang.CharSequence columnSeparator)
-
-
-
Method Detail
-
addPart
MessageBuilder addPart(java.lang.String msg)
-
addEach
default MessageBuilder addEach(java.lang.Iterable<java.lang.String> iterable)
-
newLine
MessageBuilder newLine()
-
link
MessageBuilder link(java.lang.String address)
-
command
MessageBuilder command(java.lang.String command)
-
hover
MessageBuilder hover(java.lang.String text)
-
hover
MessageBuilder hover(java.lang.String... text)
-
hover
MessageBuilder hover(java.util.Collection<java.lang.String> text)
-
indent
MessageBuilder indent(int spaces)
-
tabular
MessageBuilder tabular(java.lang.CharSequence columnSeparator)
-
apply
default MessageBuilder apply(java.util.function.UnaryOperator<MessageBuilder> operation)
-
send
void send()
-
-