dev.jorel.commandapi.executors.BukkitExecutionInfo Maven / Gradle / Ivy
package dev.jorel.commandapi.executors;
import dev.jorel.commandapi.commandsenders.BukkitCommandSender;
/**
* This record represents a BukkitExecutionInfo for a command. It provides the sender of a command, as well as it's arguments
*
* @param The type of the sender of a command this BukkitExecutionInfo belongs to
*/
public record BukkitExecutionInfo(
/**
* @return The sender of this command
*/
Sender sender,
/**
* This is not intended for public use and is only used internally. The {@link BukkitExecutionInfo#sender()} method should be used instead!
*
* @return The wrapper type of this command
*/
BukkitCommandSender extends Sender> senderWrapper,
/**
* @return The arguments of this command
*/
CommandArguments args
) implements ExecutionInfo> {
}