Package net.citizensnpcs.api.command
Class RequirementsProcessor
java.lang.Object
net.citizensnpcs.api.command.RequirementsProcessor
- All Implemented Interfaces:
- CommandAnnotationProcessor
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionClass<? extends Annotation> voidprocess(CommandSender sender, CommandContext context, Annotation instance, Object[] methodArgs) 
- 
Constructor Details- 
RequirementsProcessorpublic RequirementsProcessor()
 
- 
- 
Method Details- 
getAnnotationClass- Specified by:
- getAnnotationClassin interface- CommandAnnotationProcessor
- Returns:
- The Annotationclass that this processor will accept.
 
- 
processpublic void process(CommandSender sender, CommandContext context, Annotation instance, Object[] methodArgs) throws CommandException - Specified by:
- processin interface- CommandAnnotationProcessor
- Parameters:
- sender- The command sender
- context- The context of the command, including arguments
- instance- The- Annotationinstance
- methodArgs- The method arguments
- Throws:
- CommandException- If an exception occurs
 
 
-