Package co.aikar.timings
Class TimingsReportListener
java.lang.Object
co.aikar.timings.TimingsReportListener
- All Implemented Interfaces:
Audience
,ForwardingAudience
,Pointered
,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
Gets the audiences.void
done()
void
void
sendMessage(@NotNull String message)
Sends this sender a messagevoid
sendMessage(Identity source, Component message, MessageType type)
Sends a chat message.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, showTitle, stopSound
Methods inherited from interface org.bukkit.command.CommandSender
sendMessage, sendMessage
Methods inherited from interface net.kyori.adventure.audience.ForwardingAudience
clearTitle, filterAudience, forEachAudience, hideBossBar, openBook, playSound, playSound, playSound, pointers, resetTitle, sendActionBar, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendTitlePart, showBossBar, stopSound
Methods inherited from interface org.bukkit.command.MessageCommandSender
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, getName, getServer, hasPermission, hasPermission, isOp, isPermissionSet, isPermissionSet, name, recalculatePermissions, removeAttachment, sendMessage, sendMessage, sendMessage, setOp, spigot
Methods inherited from interface org.bukkit.permissions.Permissible
permissionValue, permissionValue
Methods inherited from interface net.kyori.adventure.pointer.Pointered
get, getOrDefault, getOrDefaultFrom
-
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)Description copied from interface:net.kyori.adventure.audience.Audience
Sends a chat message.- Specified by:
sendMessage
in interfaceAudience
- Specified by:
sendMessage
in interfaceCommandSender
- Specified by:
sendMessage
in interfaceForwardingAudience
- Parameters:
source
- the identity of the source of the messagemessage
- a messagetype
- the type- See Also:
Component
-
audiences
Description copied from interface:net.kyori.adventure.audience.ForwardingAudience
Gets the audiences.- Specified by:
audiences
in interfaceForwardingAudience
- Returns:
- the audiences
-