Class VoxelMethodCommandExecutionHandler<C>

java.lang.Object
cloud.commandframework.annotations.MethodCommandExecutionHandler<C>
com.thevoxelbox.voxelsniper.command.VoxelMethodCommandExecutionHandler<C>
All Implemented Interfaces:
cloud.commandframework.execution.CommandExecutionHandler<C>

public class VoxelMethodCommandExecutionHandler<C> extends cloud.commandframework.annotations.MethodCommandExecutionHandler<C>
  • Nested Class Summary

    Nested classes/interfaces inherited from class cloud.commandframework.annotations.MethodCommandExecutionHandler

    cloud.commandframework.annotations.MethodCommandExecutionHandler.CommandMethodContext<C>

    Nested classes/interfaces inherited from interface cloud.commandframework.execution.CommandExecutionHandler

    cloud.commandframework.execution.CommandExecutionHandler.FutureCommandExecutionHandler<C>, cloud.commandframework.execution.CommandExecutionHandler.MulticastDelegateFutureCommandExecutionHandler<C>, cloud.commandframework.execution.CommandExecutionHandler.NullCommandExecutionHandler<C>
  • Constructor Summary

    Constructors
    Constructor
    Description
    VoxelMethodCommandExecutionHandler(cloud.commandframework.annotations.MethodCommandExecutionHandler.CommandMethodContext<C> context, Function<cloud.commandframework.context.CommandContext<C>,Object> executorInstanceSupplier)
    Create a voxel method command execution handler.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(@NonNull cloud.commandframework.context.CommandContext<C> commandContext)
     

    Methods inherited from class cloud.commandframework.annotations.MethodCommandExecutionHandler

    annotationAccessor, context, createParameterValues, methodHandle, parameters

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface cloud.commandframework.execution.CommandExecutionHandler

    executeFuture
  • Constructor Details

    • VoxelMethodCommandExecutionHandler

      public VoxelMethodCommandExecutionHandler(cloud.commandframework.annotations.MethodCommandExecutionHandler.CommandMethodContext<C> context, Function<cloud.commandframework.context.CommandContext<C>,Object> executorInstanceSupplier) throws Exception
      Create a voxel method command execution handler.
      Parameters:
      context - the context
      Throws:
      Exception - instantiation exception
      Since:
      3.0.0
  • Method Details

    • execute

      public void execute(@NonNull cloud.commandframework.context.CommandContext<C> commandContext)
      Specified by:
      execute in interface cloud.commandframework.execution.CommandExecutionHandler<C>
      Overrides:
      execute in class cloud.commandframework.annotations.MethodCommandExecutionHandler<C>