Package com.djrapitops.plan.commands.use
Class VelocityMessageBuilder
- java.lang.Object
-
- com.djrapitops.plan.commands.use.VelocityMessageBuilder
-
- All Implemented Interfaces:
MessageBuilder
public class VelocityMessageBuilder extends java.lang.Object implements MessageBuilder
-
-
Constructor Summary
Constructors Constructor Description VelocityMessageBuilder(VelocityCMDSender sender)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageBuilder
addPart(java.lang.String content)
MessageBuilder
command(java.lang.String command)
MessageBuilder
hover(java.lang.String s)
MessageBuilder
hover(java.lang.String... strings)
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
-
VelocityMessageBuilder
public VelocityMessageBuilder(VelocityCMDSender sender)
-
-
Method Detail
-
addPart
public MessageBuilder addPart(java.lang.String content)
- 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 s)
- Specified by:
hover
in interfaceMessageBuilder
-
hover
public MessageBuilder hover(java.lang.String... strings)
- 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
-
-