Class SimpleCommandProcessingContext

java.lang.Object
net.apartium.cocoabeans.commands.SimpleCommandProcessingContext
All Implemented Interfaces:
CommandProcessingContext

@AvailableSince("0.0.37") public class SimpleCommandProcessingContext extends Object implements CommandProcessingContext
A simple implementation of CommandProcessingContext
  • Constructor Details

    • SimpleCommandProcessingContext

      public SimpleCommandProcessingContext(@NotNull @NotNull Sender sender, String label, String[] args, int index)
      Create a simple command processing context
      Parameters:
      sender - sender
      label - label (command name)
      args - args split by spaces
      index - current index
  • Method Details