Package net.citizensnpcs.api.command
Interface CommandAnnotationProcessor
- All Known Implementing Classes:
- RequirementsProcessor
public interface CommandAnnotationProcessor
- 
Method SummaryModifier and TypeMethodDescriptionClass<? extends Annotation> voidprocess(CommandSender sender, CommandContext context, Annotation instance, Object[] args) 
- 
Method Details- 
getAnnotationClassClass<? extends Annotation> getAnnotationClass()- Returns:
- The Annotationclass that this processor will accept.
 
- 
processvoid process(CommandSender sender, CommandContext context, Annotation instance, Object[] args) throws CommandException - Parameters:
- sender- The command sender
- context- The context of the command, including arguments
- instance- The- Annotationinstance
- args- The method arguments
- Throws:
- CommandException- If an exception occurs
 
 
-