Package com.djrapitops.plan.commands.use
Class SpongeMessageBuilder
- java.lang.Object
-
- com.djrapitops.plan.commands.use.SpongeMessageBuilder
-
- All Implemented Interfaces:
MessageBuilder
public class SpongeMessageBuilder extends java.lang.Object implements MessageBuilder
-
-
Constructor Summary
Constructors Constructor Description SpongeMessageBuilder(SpongeCMDSender sender)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageBuilder
addPart(java.lang.String s)
MessageBuilder
command(java.lang.String command)
MessageBuilder
hover(java.lang.String message)
MessageBuilder
hover(java.lang.String... lines)
MessageBuilder
hover(java.util.Collection<java.lang.String> lines)
MessageBuilder
indent(int amount)
MessageBuilder
link(java.lang.String url)
MessageBuilder
newLine()
void
send()
MessageBuilder
tabular(java.lang.CharSequence charSequence)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.djrapitops.plan.commands.use.MessageBuilder
addEach, apply
-
-
-
-
Constructor Detail
-
SpongeMessageBuilder
public SpongeMessageBuilder(SpongeCMDSender sender)
-
-
Method Detail
-
addPart
public MessageBuilder addPart(java.lang.String s)
- Specified by:
addPart
in interfaceMessageBuilder
-
newLine
public MessageBuilder newLine()
- Specified by:
newLine
in interfaceMessageBuilder
-
link
public MessageBuilder link(java.lang.String url)
- Specified by:
link
in interfaceMessageBuilder
-
command
public MessageBuilder command(java.lang.String command)
- Specified by:
command
in interfaceMessageBuilder
-
hover
public MessageBuilder hover(java.lang.String message)
- Specified by:
hover
in interfaceMessageBuilder
-
hover
public MessageBuilder hover(java.lang.String... lines)
- Specified by:
hover
in interfaceMessageBuilder
-
hover
public MessageBuilder hover(java.util.Collection<java.lang.String> lines)
- Specified by:
hover
in interfaceMessageBuilder
-
indent
public MessageBuilder indent(int amount)
- Specified by:
indent
in interfaceMessageBuilder
-
tabular
public MessageBuilder tabular(java.lang.CharSequence charSequence)
- Specified by:
tabular
in interfaceMessageBuilder
-
send
public void send()
- Specified by:
send
in interfaceMessageBuilder
-
-