Annotation Interface ExplicitReturnResolver
Annotation to mark a method as a return value resolver for a command.
This method will be called to resolve the return value of a command execution.
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionClass<? extends ReturnResolver<?,?>> The class of the return resolver to use for this method.
-
Element Details
-
value
Class<? extends ReturnResolver<?,?>> valueThe class of the return resolver to use for this method. This should be a class that implements theReturnResolverinterface.- Returns:
- the class of the return resolver
-