Package co.aikar.timings
Class TimingsReportListener
java.lang.Object
co.aikar.timings.TimingsReportListener
- All Implemented Interfaces:
Audience
,ForwardingAudience
,CommandSender
,MessageCommandSender
,Permissible
,ServerOperator
public class TimingsReportListener
extends Object
implements 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
ForwardingAudience.Single
-
Constructor Summary
ConstructorDescriptionTimingsReportListener(@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(Identity source, Component message, 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
Methods inherited from interface org.bukkit.command.CommandSender
sendMessage, sendMessage
Methods inherited from interface net.kyori.adventure.audience.ForwardingAudience
clearTitle, hideBossBar, openBook, 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
-
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 Identity source, @NotNull Component message, @NotNull MessageType type)- Specified by:
sendMessage
in interfaceAudience
- Specified by:
sendMessage
in interfaceCommandSender
- Specified by:
sendMessage
in interfaceForwardingAudience
-
audiences
- Specified by:
audiences
in interfaceForwardingAudience
-