Interface ProxyResultingExecutionInfo
- All Superinterfaces:
ResultingExecutor<NativeProxyCommandSender, BukkitNativeProxyCommandSender>, TypedExecutor<NativeProxyCommandSender, BukkitNativeProxyCommandSender>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface ProxyResultingExecutionInfo
extends ResultingExecutor<NativeProxyCommandSender, BukkitNativeProxyCommandSender>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExecutorTypegetType()Returns the type of the sender of the current executor.intThe code to run when this command is performedMethods inherited from interface ResultingExecutor
executeWith
-
Method Details
-
run
int run(ExecutionInfo<NativeProxyCommandSender, BukkitNativeProxyCommandSender> info) throws WrapperCommandSyntaxException The code to run when this command is performed- Specified by:
runin interfaceResultingExecutor<NativeProxyCommandSender, BukkitNativeProxyCommandSender>- Parameters:
info- The ExecutionInfo for this command- Returns:
- the command result
- Throws:
WrapperCommandSyntaxException
-
getType
Returns the type of the sender of the current executor.- Specified by:
getTypein interfaceTypedExecutor<NativeProxyCommandSender, BukkitNativeProxyCommandSender>- Returns:
- the type of the sender of the current executor
-