Class TimingsReportListener
java.lang.Object
co.aikar.timings.TimingsReportListener
- All Implemented Interfaces:
Audience, ForwardingAudience, Pointered, CommandSender, MessageCommandSender, Permissible, ServerOperator
@Deprecated(forRemoval=true)
public class TimingsReportListener
extends Object
implements ForwardingAudience, MessageCommandSender
Deprecated, for removal: This API element is subject to removal in a future version.
Timings will be removed in the future
-
Nested Class Summary
Nested classes/interfaces inherited from interface CommandSender
CommandSender.SpigotNested classes/interfaces inherited from interface ForwardingAudience
ForwardingAudience.Single -
Constructor Summary
ConstructorsConstructorDescriptionTimingsReportListener(@NotNull List<CommandSender> senders) Deprecated, for removal: This API element is subject to removal in a future version.TimingsReportListener(@NotNull List<CommandSender> senders, @Nullable Runnable onDone) Deprecated, for removal: This API element is subject to removal in a future version.TimingsReportListener(@NotNull CommandSender senders) Deprecated, for removal: This API element is subject to removal in a future version.TimingsReportListener(@NotNull CommandSender sender, @Nullable Runnable onDone) Deprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.Gets the audiences.voiddone()Deprecated, for removal: This API element is subject to removal in a future version.voidDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.voidsendMessage(@NotNull String message) Deprecated, for removal: This API element is subject to removal in a future version.Sends this sender a messagevoidsendMessage(Identity source, Component message, MessageType type) Deprecated, for removal: This API element is subject to removal in a future version.Sends a player chat message from the entity represented by the givenIdentityto thisAudiencewith theChatTypecorresponding to the providedMessageType.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Audience
deleteMessage, openBook, removeResourcePacks, removeResourcePacks, removeResourcePacks, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendResourcePacks, sendResourcePacks, showTitle, stopSoundMethods inherited from interface CommandSender
sendMessage, sendMessage, sendPlainMessage, sendRichMessage, sendRichMessageMethods inherited from interface ForwardingAudience
clearResourcePacks, clearTitle, closeDialog, deleteMessage, filterAudience, forEachAudience, hideBossBar, openBook, playSound, playSound, playSound, pointers, removeResourcePacks, removeResourcePacks, resetTitle, sendActionBar, sendMessage, sendMessage, sendMessage, sendMessage, sendPlayerListFooter, sendPlayerListHeader, sendPlayerListHeaderAndFooter, sendResourcePacks, sendTitlePart, showBossBar, showDialog, stopSoundMethods inherited from interface MessageCommandSender
addAttachment, addAttachment, addAttachment, addAttachment, getEffectivePermissions, getName, getServer, hasPermission, hasPermission, isOp, isPermissionSet, isPermissionSet, name, recalculatePermissions, removeAttachment, sendMessage, sendMessage, sendMessage, setOp, spigotMethods inherited from interface Permissible
permissionValue, permissionValueMethods inherited from interface Pointered
get, getOrDefault, getOrDefaultFrom
-
Constructor Details
-
TimingsReportListener
Deprecated, for removal: This API element is subject to removal in a future version. -
TimingsReportListener
-
TimingsReportListener
Deprecated, for removal: This API element is subject to removal in a future version. -
TimingsReportListener
-
-
Method Details
-
getTimingsURL
-
done
public void done()Deprecated, for removal: This API element is subject to removal in a future version. -
done
-
sendMessage
public void sendMessage(@NotNull Identity source, @NotNull Component message, @NotNull MessageType type) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:net.kyori.adventure.audience.AudienceSends a player chat message from the entity represented by the givenIdentityto thisAudiencewith theChatTypecorresponding to the providedMessageType.- Specified by:
sendMessagein interfaceAudience- Specified by:
sendMessagein interfaceCommandSender- Specified by:
sendMessagein interfaceForwardingAudience- Parameters:
source- the identity of the source of the messagemessage- a messagetype- the type- See Also:
-
audiences
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:net.kyori.adventure.audience.ForwardingAudienceGets the audiences.- Specified by:
audiencesin interfaceForwardingAudience- Returns:
- the audiences
-
sendMessage
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:CommandSenderSends this sender a message- Specified by:
sendMessagein interfaceCommandSender- Parameters:
message- Message to be displayed- See Also:
-
addConsoleIfNeeded
public void addConsoleIfNeeded()Deprecated, for removal: This API element is subject to removal in a future version.
-