CommandSender
, MessageCommandSender
, Permissible
, ServerOperator
public class TimingsReportListener extends Object implements MessageCommandSender
CommandSender.Spigot
Constructor | Description |
---|---|
TimingsReportListener(List<CommandSender> senders) |
|
TimingsReportListener(List<CommandSender> senders,
Runnable onDone) |
|
TimingsReportListener(CommandSender senders) |
|
TimingsReportListener(CommandSender sender,
Runnable onDone) |
Modifier and Type | Method | Description |
---|---|---|
void |
addConsoleIfNeeded() |
|
void |
done() |
|
void |
done(String url) |
|
String |
getTimingsURL() |
|
void |
sendMessage(String message) |
Sends this sender a message
|
sendMessage, sendMessage
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, getName, getServer, hasPermission, hasPermission, isOp, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment, sendMessage, setOp, spigot
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 © 2020. All rights reserved.