public static class DefaultServerMessage.StringCommand extends DefaultServerMessage implements ServerMessage.StringCommandServerMessage
StringCommandServerMessage
.DefaultServerMessage.NumericCommand, DefaultServerMessage.StringCommand
ServerMessage.NumericCommandServerMessage, ServerMessage.StringCommandServerMessage
Constructor and Description |
---|
StringCommand(@NonNull String command,
@NonNull String message,
@NonNull List<MessageTag> tags)
Constructs a string command message.
|
Modifier and Type | Method and Description |
---|---|
@NonNull String |
getCommand()
Gets this message's command.
|
getMessage, getTags, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getMessage, getTag, getTag, getTags
public StringCommand(@NonNull String command, @NonNull String message, @NonNull List<MessageTag> tags)
command
- commandmessage
- full messagetags
- message tagspublic @NonNull String getCommand()
ServerMessage.StringCommandServerMessage
getCommand
in interface ServerMessage.StringCommandServerMessage
Copyright © 2013–2021 Kitteh. All rights reserved.