All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dev.jorel.commandapi.executors.ExecutionInfo Maven / Gradle / Ivy

There is a newer version: 9.5.3
Show newest version
package dev.jorel.commandapi.executors;

import dev.jorel.commandapi.commandsenders.AbstractCommandSender;

/**
 * This interface represents an ExecutionInfo 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 ExecutionInfo belongs to
 */
public interface ExecutionInfo
/// @endcond
> {

	/**
	 * @return The sender of this command
	 */
	Sender sender();

	/**
	 * This is not intended for public use and is only used internally. The {@link ExecutionInfo#sender()} method should be used instead!
	 *
	 * @return The wrapper type of this command
	 */
	WrapperType senderWrapper();

	/**
	 * @return The arguments of this command
	 */
	CommandArguments args();

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy