Package studio.mevera.imperat
Interface ProcessorRegistrar<S extends Source>
- Type Parameters:
S- the type of the source associated with command processing
- All Known Subinterfaces:
ImperatConfig<S>
Represents a registrar that allows the configuration and management of pre-processing
and post-processing chains of command processors for a given source type.
-
Method Summary
Modifier and TypeMethodDescriptionvoidSets the whole post-processing chainvoidSets the whole pre-processing chain
-
Method Details
-
setPreProcessorsChain
Sets the whole pre-processing chain- Parameters:
chain- the chain to set
-
setPostProcessorsChain
Sets the whole post-processing chain- Parameters:
chain- the chain to set
-
getPreProcessors
CommandProcessingChain<S,CommandPreProcessor<S>> getPreProcessors()- Returns:
- gets the pre-processors in the chain of execution
- See Also:
-
getPostProcessors
CommandProcessingChain<S,CommandPostProcessor<S>> getPostProcessors()- Returns:
- gets the post-processors in the chain of execution
- See Also:
-