Package co.aikar.timings
Class TimingsReportListener
java.lang.Object
co.aikar.timings.TimingsReportListener
- All Implemented Interfaces:
net.kyori.adventure.audience.Audience
,net.kyori.adventure.audience.ForwardingAudience
,net.kyori.adventure.pointer.Pointered
,CommandSender
,MessageCommandSender
,Permissible
,ServerOperator
public class TimingsReportListener
extends Object
implements net.kyori.adventure.audience.ForwardingAudience, MessageCommandSender
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.command.CommandSender
CommandSender.Spigot
Nested classes/interfaces inherited from interface net.kyori.adventure.audience.ForwardingAudience
net.kyori.adventure.audience.ForwardingAudience.Single
-
Constructor Summary
ConstructorsConstructorDescriptionTimingsReportListener(@NotNull List<CommandSender> senders)
TimingsReportListener(@NotNull List<CommandSender> senders, @Nullable Runnable onDone)
TimingsReportListener(@NotNull CommandSender senders)
TimingsReportListener(@NotNull CommandSender sender, @Nullable Runnable onDone)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
done()
void
void
sendMessage(@NotNull String message)
Sends this sender a messagevoid
sendMessage(net.kyori.adventure.identity.Identity source, net.kyori.adventure.text.Component message, net.kyori.adventure.audience.MessageType type)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.kyori.adventure.audience.Audience
openBook, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, stopSound
Methods inherited from interface org.bukkit.command.CommandSender
sendMessage, sendMessage
Methods inherited from interface net.kyori.adventure.audience.ForwardingAudience
clearTitle, get, getOrDefault, getOrDefaultFrom, hideBossBar, openBook, playSound, playSound, playSound, resetTitle, sendActionBar, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, showBossBar, showTitle, stopSound
Methods inherited from interface org.bukkit.command.MessageCommandSender
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, getName, getServer, hasPermission, hasPermission, isOp, isPermissionSet, isPermissionSet, recalculatePermissions, removeAttachment, sendMessage, sendMessage, sendMessage, setOp, spigot
Methods inherited from interface net.kyori.adventure.pointer.Pointered
pointers
-
Constructor Details
-
TimingsReportListener
-
TimingsReportListener
-
TimingsReportListener
-
TimingsReportListener
-
-
Method Details
-
getTimingsURL
-
done
public void done() -
done
-
sendMessage
Description copied from interface:CommandSender
Sends this sender a message- Specified by:
sendMessage
in interfaceCommandSender
- Parameters:
message
- Message to be displayed- See Also:
Audience.sendMessage(net.kyori.adventure.text.Component)
-
addConsoleIfNeeded
public void addConsoleIfNeeded() -
sendMessage
public void sendMessage(@NotNull net.kyori.adventure.identity.Identity source, @NotNull net.kyori.adventure.text.Component message, @NotNull net.kyori.adventure.audience.MessageType type)- Specified by:
sendMessage
in interfacenet.kyori.adventure.audience.Audience
- Specified by:
sendMessage
in interfaceCommandSender
- Specified by:
sendMessage
in interfacenet.kyori.adventure.audience.ForwardingAudience
-
audiences
- Specified by:
audiences
in interfacenet.kyori.adventure.audience.ForwardingAudience
-