public class TimingsReportListener extends Object implements MessageCommandSender
CommandSender.Spigot
Constructor and Description |
---|
TimingsReportListener(CommandSender senders) |
TimingsReportListener(CommandSender sender,
Runnable onDone) |
TimingsReportListener(List<CommandSender> senders) |
TimingsReportListener(List<CommandSender> senders,
Runnable onDone) |
Modifier and Type | Method and Description |
---|---|
void |
addConsoleIfNeeded() |
void |
done() |
void |
done(String url) |
String |
getTimingsURL() |
void |
sendMessage(String message)
Sends this sender a message
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, getName, getServer, hasPermission, hasPermission, isOp, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment, sendMessage, setOp, spigot
sendMessage, sendMessage
public TimingsReportListener(@NotNull CommandSender senders)
public TimingsReportListener(@NotNull CommandSender sender, @Nullable Runnable onDone)
public TimingsReportListener(@NotNull List<CommandSender> senders)
public TimingsReportListener(@NotNull List<CommandSender> senders, @Nullable Runnable onDone)
@Nullable public String getTimingsURL()
public void done()
public void done(@Nullable String url)
public void sendMessage(@NotNull String message)
CommandSender
sendMessage
in interface CommandSender
message
- Message to be displayedpublic void addConsoleIfNeeded()
Copyright © 2022. All rights reserved.